|
1 | 1 | # |
2 | 2 | # PostgreSQL top level makefile |
3 | 3 | # |
4 | | -# $PostgreSQL: pgsql/GNUmakefile.in,v 1.53 2009/08/14 21:37:18 alvherre Exp $ |
| 4 | +# $PostgreSQL: pgsql/GNUmakefile.in,v 1.54 2009/10/29 21:57:17 petere Exp $ |
5 | 5 | # |
6 | 6 |
|
7 | 7 | subdir = |
@@ -71,34 +71,11 @@ dummy= =install= |
71 | 71 | garbage = =* "#"* ."#"* *~* *.orig *.rej core postgresql-* |
72 | 72 |
|
73 | 73 | dist: $(distdir).tar.gz |
74 | | -ifeq ($(split-dist), yes) |
75 | | -dist: postgresql-base-$(VERSION).tar.gz postgresql-docs-$(VERSION).tar.gz postgresql-opt-$(VERSION).tar.gz postgresql-test-$(VERSION).tar.gz |
76 | | -endif |
77 | | -dist: |
78 | 74 | rm -rf $(distdir) |
79 | 75 |
|
80 | 76 | $(distdir).tar: distdir |
81 | 77 | $(TAR) chf $@ $(distdir) |
82 | 78 |
|
83 | | -opt_files = \ |
84 | | -src/tools src/tutorial \ |
85 | | -$(addprefix src/pl/, plperl plpython tcl) |
86 | | - |
87 | | -docs_files = doc/postgres.tar.gz doc/src doc/TODO.detail |
88 | | - |
89 | | -postgresql-base-$(VERSION).tar: distdir |
90 | | -$(TAR) -c $(addprefix --exclude $(distdir)/, $(docs_files) $(opt_files) src/test) \ |
91 | | - -f $@ $(distdir) |
92 | | - |
93 | | -postgresql-docs-$(VERSION).tar: distdir |
94 | | -$(TAR) cf $@ $(addprefix $(distdir)/, $(docs_files)) |
95 | | - |
96 | | -postgresql-opt-$(VERSION).tar: distdir |
97 | | -$(TAR) cf $@ $(addprefix $(distdir)/, $(opt_files)) |
98 | | - |
99 | | -postgresql-test-$(VERSION).tar: distdir |
100 | | -$(TAR) cf $@ $(distdir)/src/test |
101 | | - |
102 | 79 | distdir-location: |
103 | 80 | @echo $(distdir) |
104 | 81 |
|
|