]> git.pld-linux.org Git - projects/rc-scripts.git/blobdiff - Makefile.am
Allow overriding of vlan base device name
[projects/rc-scripts.git] / Makefile.am
index b82296f5fe03e870cfc3f693a987f440ce1cf2e8..98f7d98b59396a4fc0ad9d40ac60e8a9cb8b8e42 100644 (file)
@@ -1,28 +1,46 @@
 #
-#      $Id: Makefile.am,v 1.5 1999/08/07 10:16:13 wiget Exp $
 #
 
-SUBDIRS = src ppp sysconfig rc.d doc po
+SUBDIRS = src lib ppp isapnp sysconfig rc.d doc man po init
 
 sysconf_DATA = \
        adjtime \
-       inittab 
+       inittab \
+       modules \
+       crypttab \
+       sysctl.conf
+
+firmware_SCRIPTS = \
+       firmware-loader.sh
 
 profiledir = @sysconfdir@/profile.d
 
 profile_DATA = \
        lang.sh \
        lang.csh
-       
-sbin_SCRIPTS = setsysfont
+
+bin_SCRIPTS = run-parts.sh
+sbin_SCRIPTS = \
+       setsysfont \
+       hwprofile \
+       service
 
 EXTRA_DIST = \
        $(sysconf_DATA) \
        $(profile_DATA) \
+       $(firmware_SCRIPTS) \
        $(sbin_SCRIPTS) \
-       rc-scripts.spec
+       $(bin_SCRIPTS)
+
+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
-       rpm -ta --clean --rmsource $(PACKAGE)-$(VERSION).tar.gz
+       rpmbin=`LC_ALL=C rpm -ta 2>&1 | grep -q "unknown option" && echo rpmbuild || echo rpm` ; \
+               $$rpmbin -ta --clean --rmsource $(PACKAGE)-$(VERSION).tar.gz
This page took 0.04429 seconds and 4 git commands to generate.