Back-patch replacement of README.CVS with README.git.

In older branches, also git-ify the "make distdir" rule.
This commit is contained in:
Tom Lane 2010-09-21 14:43:11 -04:00
parent a15e220a96
commit 193ded6370
2 changed files with 7 additions and 7 deletions

View File

@ -98,7 +98,7 @@ postgresql-test-$(VERSION).tar: distdir
distdir: distdir:
-rm -rf $(distdir)* $(dummy) -rm -rf $(distdir)* $(dummy)
for x in `cd $(top_srcdir) && find . -name CVS -prune -o -print`; do \ for x in `cd $(top_srcdir) && find . \( -name CVS -prune \) -o \( -name .git -prune \) -o -print`; do \
file=`expr X$$x : 'X\./\(.*\)'`; \ file=`expr X$$x : 'X\./\(.*\)'`; \
if test -d "$(top_srcdir)/$$file" ; then \ if test -d "$(top_srcdir)/$$file" ; then \
mkdir "$(distdir)/$$file" && chmod 777 "$(distdir)/$$file"; \ mkdir "$(distdir)/$$file" && chmod 777 "$(distdir)/$$file"; \
@ -113,7 +113,7 @@ distdir:
cp $(distdir)/doc/src/sgml/INSTALL $(distdir)/ cp $(distdir)/doc/src/sgml/INSTALL $(distdir)/
cp $(distdir)/doc/src/sgml/regress_README $(distdir)/src/test/regress/README cp $(distdir)/doc/src/sgml/regress_README $(distdir)/src/test/regress/README
$(MAKE) -C $(distdir) distclean $(MAKE) -C $(distdir) distclean
rm -f $(distdir)/README.CVS rm -f $(distdir)/README.git
distcheck: $(distdir).tar.gz distcheck: $(distdir).tar.gz
-rm -rf $(dummy) -rm -rf $(dummy)

View File

@ -2,13 +2,13 @@
In a release or snapshot tarball of PostgreSQL, documentation files named In a release or snapshot tarball of PostgreSQL, documentation files named
INSTALL and HISTORY will appear in this directory. However, these files are INSTALL and HISTORY will appear in this directory. However, these files are
not stored in CVS and so will not be present if you are using a CVS checkout. not stored in git and so will not be present if you are using a git checkout.
If you are using CVS, you can view the most recent install instructions at: If you are using git, you can view the most recent install instructions at:
http://developer.postgresql.org/docs/postgres/installation.html http://developer.postgresql.org/docs/postgres/installation.html
and the current release notes at: and the current release notes at:
http://developer.postgresql.org/docs/postgres/release.html http://developer.postgresql.org/docs/postgres/release.html
Users compiling from CVS will also need compatible versions of Bison and Users compiling from git will also need compatible versions of Bison, Flex,
Flex, as discussed in the install documentation. Bison and Flex are not and Perl, as discussed in the install documentation. These programs are not
needed when using a tarball, since the files they are needed to build are needed when using a tarball, since the files they are needed to build are
already present in the tarball. already present in the tarball. (On Windows, however, you need Perl anyway.)