File tree 2 files changed +9
-7
lines changed
2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 1
1
#
2
2
# PostgreSQL top level makefile
3
3
#
4
- # $PostgreSQL: pgsql/GNUmakefile.in,v 1.54 2009/10/29 21:57:17 petere Exp $
4
+ # $PostgreSQL: pgsql/GNUmakefile.in,v 1.55 2009/11/03 21:28:10 petere Exp $
5
5
#
6
6
7
7
subdir =
@@ -70,12 +70,14 @@ distdir = postgresql-$(VERSION)
70
70
dummy = =install=
71
71
garbage = =* "#"* ."#"* *~* *.orig *.rej core postgresql-*
72
72
73
- dist: $(distdir).tar.gz
73
+ dist: $(distdir).tar.gz $(distdir).tar.bz2
74
74
rm -rf $(distdir)
75
75
76
76
$(distdir).tar: distdir
77
77
$(TAR) chf $@ $(distdir)
78
78
79
+ .INTERMEDIATE: $(distdir).tar
80
+
79
81
distdir-location:
80
82
@echo $(distdir)
81
83
@@ -98,10 +100,10 @@ distdir:
98
100
$(MAKE) -C $(distdir) distclean
99
101
rm -f $(distdir)/README.CVS
100
102
101
- distcheck: $(distdir).tar.gz
103
+ distcheck: dist
102
104
rm -rf $(dummy)
103
105
mkdir $(dummy)
104
- $(GZIP) -d -c $< | $(TAR) xf -
106
+ $(GZIP) -d -c $(distdir).tar.gz | $(TAR) xf -
105
107
install_prefix=`cd $(dummy) && pwd`; \
106
108
cd $(distdir) \
107
109
&& ./configure --prefix="$$install_prefix"
Original file line number Diff line number Diff line change 1
1
# -*-makefile-*-
2
- # $PostgreSQL: pgsql/src/Makefile.global.in,v 1.258 2009/08/26 22:24:42 petere Exp $
2
+ # $PostgreSQL: pgsql/src/Makefile.global.in,v 1.259 2009/11/03 21:28:10 petere Exp $
3
3
4
4
# ------------------------------------------------------------------------------
5
5
# All PostgreSQL makefiles include this file and use the variables it sets,
@@ -475,10 +475,10 @@ TAS = @TAS@
475
475
$(CPP ) $(CPPFLAGS ) -o $@ $<
476
476
477
477
% .gz : %
478
- $(GZIP ) -f -- best $<
478
+ $(GZIP ) -- best -c $< > $@
479
479
480
480
% .bz2 : %
481
- $(BZIP2 ) -f $<
481
+ $(BZIP2 ) -c $< > $@
482
482
483
483
ifndef PGXS
484
484
You can’t perform that action at this time.
0 commit comments