X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=Makefile.am;h=202c26c40accd2dcfcc3cfc3747b96178271bf3e;hb=0eca96e9e443047b57e1afc46a7e74cdc0ba611d;hp=4494312b508fcda36f0f7c1e6f15550847d52a9b;hpb=565f8748202791f5c6336370ccaad8fb345466e8;p=projects%2Frc-scripts.git diff --git a/Makefile.am b/Makefile.am index 4494312b..202c26c4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,7 +2,7 @@ # $Id$ # -SUBDIRS = src ppp isapnp sysconfig rc.d doc man po init +SUBDIRS = src lib ppp isapnp sysconfig rc.d doc man po init sysconf_DATA = \ adjtime \ @@ -11,8 +11,6 @@ sysconf_DATA = \ crypttab \ sysctl.conf -firmwaredir = /lib/firmware - firmware_SCRIPTS = \ firmware-loader.sh @@ -39,6 +37,9 @@ install-data-hook: install -d $(DESTDIR)$(localstatedir)/cache/$(PACKAGE) [ -f $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/msg.cache ] || touch $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/msg.cache +uninstall-hook: + [ -f $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/msg.cache ] && rm -f $(DESTDIR)$(localstatedir)/cache/$(PACKAGE)/msg.cache + # make rpms rpm: $(PACKAGE).spec $(MAKE) dist