* Makefile.am (dist-hook): Only run if README-alpha exists.

* README.alpha: Renamed from README-alpha to stop automake from
automatically adding it to DIST_COMMON.
This commit is contained in:
Gary V. Vaughan 2004-08-29 19:52:20 +00:00
parent 5ce81559bb
commit b2c4578138
3 changed files with 9 additions and 4 deletions

View File

@ -1,5 +1,9 @@
2004-08-29 Gary V. Vaughan <gary@gnu.org>
* Makefile.am (dist-hook): Only run if README-alpha exists.
* README.alpha: Renamed from README-alpha to stop automake from
automatically adding it to DIST_COMMON.
* NEWS: Merge changes from branch-1-5.
* Makefile.am (dist-hook): Always distribute just a README file,

View File

@ -147,9 +147,10 @@ install-data-hook:
chmod +x $(DESTDIR)$(pkgdatadir)/config.guess
chmod +x $(DESTDIR)$(pkgdatadir)/config.sub
## Ship README.alpha only in alpha release, but renamed to README
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 ;; \
-@test -f $(distdir)/README.alpha && \
case $(VERSION) in \
*[a-z]) mv $(distdir)/README.alpha $(distdir)/README ;; \
*) rm -f $(distdir)/README.alpha ;; \
esac