Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit fc21f3c

Browse files
committed
Rearrange distribution split as discussed on -hackers.
1 parent cdbf176 commit fc21f3c

File tree

1 file changed

+18
-9
lines changed

1 file changed

+18
-9
lines changed

GNUmakefile.in

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# PostgreSQL top level makefile
33
#
4-
# $Header: /cvsroot/pgsql/GNUmakefile.in,v 1.17 2001/02/10 02:31:25 tgl Exp $
4+
# $Header: /cvsroot/pgsql/GNUmakefile.in,v 1.18 2001/04/08 17:28:10 petere Exp $
55
#
66

77
subdir =
@@ -60,25 +60,33 @@ BZIP2 := bzip2
6060

6161
dist: $(distdir).tar.gz
6262
ifeq ($(split-dist), yes)
63-
dist: $(distdir).base.tar.gz $(distdir).docs.tar.gz $(distdir).support.tar.gz $(distdir).test.tar.gz
63+
dist: postgresql-base-$(VERSION).tar.gz postgresql-docs-$(VERSION).tar.gz postgresql-opt-$(VERSION).tar.gz postgresql-test-$(VERSION).tar.gz
6464
endif
6565
dist:
6666
-rm -rf $(distdir)
6767

6868
$(distdir).tar: distdir
6969
$(TAR) chf $@ $(distdir)
7070

71-
$(distdir).base.tar: distdir
72-
$(TAR) -c $(addprefix --exclude $(distdir)/, doc src/test src/interfaces src/bin) \
71+
opt_files := src/backend/utils/mb contrib/retep build.xml \
72+
src/tools src/corba src/data src/tutorial \
73+
$(addprefix src/bin/, pgaccess pgtclsh pg_encoding) \
74+
$(addprefix src/interfaces/, odbc libpq++ libpgtcl perl5 python jdbc) \
75+
$(addprefix src/pl/, plperl tcl)
76+
77+
docs_files := doc/postgres.tar.gz doc/src doc/TODO.detail doc/internals.ps
78+
79+
postgresql-base-$(VERSION).tar: distdir
80+
$(TAR) -c $(addprefix --exclude $(distdir)/, $(docs_files) $(opt_files) src/test) \
7381
-f $@ $(distdir)
7482

75-
$(distdir).docs.tar: distdir
76-
$(TAR) cf $@ $(distdir)/doc
83+
postgresql-docs-$(VERSION).tar: distdir
84+
$(TAR) cf $@ $(addprefix $(distdir)/, $(docs_files))
7785

78-
$(distdir).support.tar: distdir
79-
$(TAR) cf $@ $(distdir)/src/interfaces $(distdir)/src/bin
86+
postgresql-opt-$(VERSION).tar: distdir
87+
$(TAR) cf $@ $(addprefix $(distdir)/, $(opt_files))
8088

81-
$(distdir).test.tar: distdir
89+
postgresql-test-$(VERSION).tar: distdir
8290
$(TAR) cf $@ $(distdir)/src/test
8391

8492
%.gz: %
@@ -121,3 +129,4 @@ distcheck: $(distdir).tar.gz
121129
@echo "Distribution integrity checks out."
122130

123131
.PHONY: dist distdir distcheck
132+
unexport split-dist

0 commit comments

Comments
 (0)