[Build-common-hackers] Beginner's problem: post-install remove a file

Stefan Gybas sgybas@debian.org
Thu, 02 Oct 2003 10:47:45 +0200


debacle@debian.org wrote:

> install:
>         ...
>         $(MAKE) install ...
>         rm -rf $(PREFIX)/some/file/I/abominat.e

Just add the additional commands to the 
"binary-post-install/<package_name>::" (or "install/<package_name>::" if 
you are not using the install tagret in a CDBS class) target, like it's 
done in the dbus.rules and java-library.rules examples.

Stefan