summaryrefslogtreecommitdiff
path: root/GNUmakefile.in
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2001-04-08 17:28:10 +0000
committerPeter Eisentraut <peter_e@gmx.net>2001-04-08 17:28:10 +0000
commitfc21f3c9265d949add3ce2f81627effee8824422 (patch)
tree1744c0d208639796fd5bd6655cf53cb369265e0d /GNUmakefile.in
parentcdbf1762dc948848a039e02355a5db6e336a8176 (diff)
downloadpostgresql-fc21f3c9265d949add3ce2f81627effee8824422.tar.gz
Rearrange distribution split as discussed on -hackers.
Diffstat (limited to 'GNUmakefile.in')
-rw-r--r--GNUmakefile.in27
1 files changed, 18 insertions, 9 deletions
diff --git a/GNUmakefile.in b/GNUmakefile.in
index 7cdfb95473..ea2727d3a0 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -1,7 +1,7 @@
#
# PostgreSQL top level makefile
#
-# $Header: /cvsroot/pgsql/GNUmakefile.in,v 1.17 2001/02/10 02:31:25 tgl Exp $
+# $Header: /cvsroot/pgsql/GNUmakefile.in,v 1.18 2001/04/08 17:28:10 petere Exp $
#
subdir =
@@ -60,7 +60,7 @@ BZIP2 := bzip2
dist: $(distdir).tar.gz
ifeq ($(split-dist), yes)
-dist: $(distdir).base.tar.gz $(distdir).docs.tar.gz $(distdir).support.tar.gz $(distdir).test.tar.gz
+dist: postgresql-base-$(VERSION).tar.gz postgresql-docs-$(VERSION).tar.gz postgresql-opt-$(VERSION).tar.gz postgresql-test-$(VERSION).tar.gz
endif
dist:
-rm -rf $(distdir)
@@ -68,17 +68,25 @@ dist:
$(distdir).tar: distdir
$(TAR) chf $@ $(distdir)
-$(distdir).base.tar: distdir
- $(TAR) -c $(addprefix --exclude $(distdir)/, doc src/test src/interfaces src/bin) \
+opt_files := src/backend/utils/mb contrib/retep build.xml \
+ src/tools src/corba src/data src/tutorial \
+ $(addprefix src/bin/, pgaccess pgtclsh pg_encoding) \
+ $(addprefix src/interfaces/, odbc libpq++ libpgtcl perl5 python jdbc) \
+ $(addprefix src/pl/, plperl tcl)
+
+docs_files := doc/postgres.tar.gz doc/src doc/TODO.detail doc/internals.ps
+
+postgresql-base-$(VERSION).tar: distdir
+ $(TAR) -c $(addprefix --exclude $(distdir)/, $(docs_files) $(opt_files) src/test) \
-f $@ $(distdir)
-$(distdir).docs.tar: distdir
- $(TAR) cf $@ $(distdir)/doc
+postgresql-docs-$(VERSION).tar: distdir
+ $(TAR) cf $@ $(addprefix $(distdir)/, $(docs_files))
-$(distdir).support.tar: distdir
- $(TAR) cf $@ $(distdir)/src/interfaces $(distdir)/src/bin
+postgresql-opt-$(VERSION).tar: distdir
+ $(TAR) cf $@ $(addprefix $(distdir)/, $(opt_files))
-$(distdir).test.tar: distdir
+postgresql-test-$(VERSION).tar: distdir
$(TAR) cf $@ $(distdir)/src/test
%.gz: %
@@ -121,3 +129,4 @@ distcheck: $(distdir).tar.gz
@echo "Distribution integrity checks out."
.PHONY: dist distdir distcheck
+unexport split-dist