X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=Makefile.am;h=1e7761fbf50c3e2d2b4ef0882be53227baec024a;hb=aeaa34bf39581eb517ff66fc859bfea43e23f6f8;hp=202c26c40accd2dcfcc3cfc3747b96178271bf3e;hpb=f6c13fabda661884a09512bac8812e8acab35722;p=projects%2Frc-scripts.git diff --git a/Makefile.am b/Makefile.am index 202c26c4..1e7761fb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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,6 +36,17 @@ 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