Add README-alpha automatically when appropriate

This commit is contained in:
Andreas Gruenbacher 2009-03-20 19:16:29 +01:00
parent e0a0b12a42
commit 2342669b6b
3 changed files with 9 additions and 2 deletions

View File

@ -18,6 +18,9 @@
* configure.ac: Compute PACKAGE_VERSION from repository.
* update-version.sh: New file.
* README-alpha: New file.
* Makefile.in (dist): Add README-alpha when appropriate.
2009-03-19 Andreas Gruenbacher <agruen@suse.de>
Imported from Paul Eggert's working directory:

View File

@ -199,8 +199,10 @@ dist:: $(DISTFILES)
@echo Creating $(PV).tar.gz
@rm -rf $(PV)
@ln -s . $(PV)
@tar -cf - `printf "%s\n" $(DISTFILES) \
| sed -e 's,^$(srcdir)/,,' \
@tar -cf - `( printf "%s\n" $(DISTFILES); \
grep -q -E -- '-[0-9]+-[0-9a-z]+(-dirty)?$$' VERSION \
&& echo README-alpha \
) | sed -e 's,^$(srcdir)/,,' \
| LC_ALL=C sort` \
| gzip -9 > $(PV).tar.gz
@rm -rf $(PV)

2
README-alpha Normal file
View File

@ -0,0 +1,2 @@
This is a test release of GNU patch.
Please send comments and problem reports to <bug-patch@gnu.org>.