]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* Makefile.am (dist-hook): Always distribute just a README file,
authorGary V. Vaughan <gary@gnu.org>
Sun, 29 Aug 2004 16:59:23 +0000 (16:59 +0000)
committerGary V. Vaughan <gary@gnu.org>
Sun, 29 Aug 2004 16:59:23 +0000 (16:59 +0000)
but take its contents from README-alpha for alpha releases.

ChangeLog
Makefile.am

index 971a84341c84e8edbf65863b8ad92c8ba0a03f1b..9283e239e09996a9f412c9aa05f451ec1725f6a2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2004-08-29  Gary V. Vaughan  <gary@gnu.org>
 
+       * 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  <gary@gnu.org>
index da0cb799eb0e35d80a43ebceb0ede3fe5ac0578d..73dbb9d84741664f227fefb9f5c78cd38f6f9679 100644 (file)
@@ -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