* README.alpha: Renamed from README-alpha to stop automake from
automatically adding it to DIST_COMMON.
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,
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