From: Gary V. Vaughan Date: Sun, 29 Aug 2004 16:59:23 +0000 (+0000) Subject: * Makefile.am (dist-hook): Always distribute just a README file, X-Git-Tag: release-1-9b~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c47af0d62a76649dbd52fd8a3963cbdf00a0363;p=thirdparty%2Flibtool.git * Makefile.am (dist-hook): Always distribute just a README file, but take its contents from README-alpha for alpha releases. --- diff --git a/ChangeLog b/ChangeLog index 971a84341..9283e239e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2004-08-29 Gary V. Vaughan + * Makefile.am (dist-hook): Always distribute just a README file, + but take its contents from README-alpha for alpha releases. + * TODO: Reformat. Removed some items that have been implemented. 2004-08-29 Gary V. Vaughan diff --git a/Makefile.am b/Makefile.am index da0cb799e..73dbb9d84 100644 --- a/Makefile.am +++ b/Makefile.am @@ -146,3 +146,10 @@ install-data-local: install-data-hook: chmod +x $(DESTDIR)$(pkgdatadir)/config.guess chmod +x $(DESTDIR)$(pkgdatadir)/config.sub + +dist-hook: +## Ship README-alpha only in alpha release, but renamed to README + @case $(VERSION) in \ + *[a-z]) mv $(distdir)/README-alpha $(distdir)/README ;; \ + *) rm -f $(distdir)/README-alpha ;; \ + esac