]> git.pld-linux.org Git - projects/rc-scripts.git/blobdiff - Makefile.am
Create bond master interface if it doesn't exist when slave interface is being ifuped.
[projects/rc-scripts.git] / Makefile.am
index 7ad30df197adeaf84ccb2574ea4071fe6960de6a..1e7761fbf50c3e2d2b4ef0882be53227baec024a 100644 (file)
@@ -1,8 +1,7 @@
 #
-#      $Id$
 #
 
-SUBDIRS = src lib ppp isapnp sysconfig rc.d doc man po init
+SUBDIRS = src lib ppp isapnp sysconfig rc.d doc man po
 
 sysconf_DATA = \
        adjtime \
@@ -20,12 +19,16 @@ profile_DATA = \
        lang.sh \
        lang.csh
 
-bin_SCRIPTS = run-parts
+bin_SCRIPTS = run-parts.sh
 sbin_SCRIPTS = \
        setsysfont \
        hwprofile \
        service
 
+AM_DISTCHECK_CONFIGURE_FLAGS = \
+       --prefix=/usr \
+       --verbose
+
 EXTRA_DIST = \
        $(sysconf_DATA) \
        $(profile_DATA) \
@@ -33,10 +36,24 @@ EXTRA_DIST = \
        $(sbin_SCRIPTS) \
        $(bin_SCRIPTS)
 
+DISTCLEANFILES = \
+       ChangeLog
+
+ChangeLog:
+       $(top_srcdir)/changelog.sh $(top_builddir)
+
+dist-hook:
+       rm -f $(top_builddir)/ChangeLog
+       $(MAKE) -C $(top_builddir) ChangeLog
+       cp -pf $(top_builddir)/ChangeLog $(top_distdir)/ChangeLog
+
 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
This page took 0.156367 seconds and 4 git commands to generate.