SVN: rc-scripts/trunk/Makefile.am
glen
glen at pld-linux.org
Fri Dec 8 13:17:31 CET 2006
Author: glen
Date: Fri Dec 8 13:17:31 2006
New Revision: 8088
Modified:
rc-scripts/trunk/Makefile.am
Log:
Create /var/cache/rc-scripts/msg.cache on install.
Modified: rc-scripts/trunk/Makefile.am
==============================================================================
--- rc-scripts/trunk/Makefile.am (original)
+++ rc-scripts/trunk/Makefile.am Fri Dec 8 13:17:31 2006
@@ -29,6 +29,10 @@
$(bin_SCRIPTS) \
rc-scripts.spec
+install-data-hook:
+ install -d $(DESTDIR)/var/cache/$(PACKAGE)
+ [ -f $(DESTDIR)/var/cache/$(PACKAGE)/msg.cache ] || touch $(DESTDIR)/var/cache/$(PACKAGE)/msg.cache
+
# make rpms
rpm: $(PACKAGE).spec
$(MAKE) dist
More information about the pld-cvs-commit
mailing list