Be able to easily figure out the target directory of "make dist".

This commit is contained in:
Alvaro Herrera 2009-08-14 21:37:18 +00:00
parent 3718b0c50d
commit 3a00c0a6d4
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
#
# PostgreSQL top level makefile
#
# $PostgreSQL: pgsql/GNUmakefile.in,v 1.52 2009/08/09 22:47:58 petere Exp $
# $PostgreSQL: pgsql/GNUmakefile.in,v 1.53 2009/08/14 21:37:18 alvherre Exp $
#
subdir =
@ -99,6 +99,9 @@ postgresql-opt-$(VERSION).tar: distdir
postgresql-test-$(VERSION).tar: distdir
$(TAR) cf $@ $(distdir)/src/test
distdir-location:
@echo $(distdir)
distdir:
rm -rf $(distdir)* $(dummy)
for x in `cd $(top_srcdir) && find . \( -name CVS -prune \) -o \( -name .git -prune \) -o -print`; do \