summaryrefslogtreecommitdiff
path: root/GNUmakefile.in
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2009-08-14 21:37:18 +0000
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2009-08-14 21:37:18 +0000
commit3a00c0a6d45cae05d341a27f3d28f013c56851c7 (patch)
treefceeb968624d79972757647c666214816b61a441 /GNUmakefile.in
parent3718b0c50dcde6cd384c051b6e610b369fe02a3d (diff)
downloadpostgresql-3a00c0a6d45cae05d341a27f3d28f013c56851c7.tar.gz
Be able to easily figure out the target directory of "make dist".
Diffstat (limited to 'GNUmakefile.in')
-rw-r--r--GNUmakefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/GNUmakefile.in b/GNUmakefile.in
index a1c2e5e73c..f743f3117a 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -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 \