X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=Makefile.am;h=98f7d98b59396a4fc0ad9d40ac60e8a9cb8b8e42;hb=a8447871be4eebf43d97d09e8014100faf460d74;hp=4494312b508fcda36f0f7c1e6f15550847d52a9b;hpb=565f8748202791f5c6336370ccaad8fb345466e8;p=projects%2Frc-scripts.git diff --git a/Makefile.am b/Makefile.am index 4494312b..98f7d98b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,8 +1,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 +10,6 @@ sysconf_DATA = \ crypttab \ sysctl.conf -firmwaredir = /lib/firmware - firmware_SCRIPTS = \ firmware-loader.sh @@ -22,7 +19,7 @@ profile_DATA = \ lang.sh \ lang.csh -bin_SCRIPTS = run-parts +bin_SCRIPTS = run-parts.sh sbin_SCRIPTS = \ setsysfont \ hwprofile \ @@ -39,6 +36,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