Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita4d03bb

Browse files
committed
Build bzip2 tarball in dist target as well
1 parent16cd34a commita4d03bb

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

‎GNUmakefile.in

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# PostgreSQL top level makefile
33
#
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 $
55
#
66

77
subdir =
@@ -70,12 +70,14 @@ distdir= postgresql-$(VERSION)
7070
dummy= =install=
7171
garbage = =* "#"* ."#"* *~* *.orig *.rej core postgresql-*
7272

73-
dist: $(distdir).tar.gz
73+
dist: $(distdir).tar.gz$(distdir).tar.bz2
7474
rm -rf $(distdir)
7575

7676
$(distdir).tar: distdir
7777
$(TAR) chf $@ $(distdir)
7878

79+
.INTERMEDIATE: $(distdir).tar
80+
7981
distdir-location:
8082
@echo $(distdir)
8183

@@ -98,10 +100,10 @@ distdir:
98100
$(MAKE) -C $(distdir) distclean
99101
rm -f $(distdir)/README.CVS
100102

101-
distcheck:$(distdir).tar.gz
103+
distcheck:dist
102104
rm -rf $(dummy)
103105
mkdir $(dummy)
104-
$(GZIP) -d -c $< | $(TAR) xf -
106+
$(GZIP) -d -c $(distdir).tar.gz | $(TAR) xf -
105107
install_prefix=`cd $(dummy) && pwd`; \
106108
cd $(distdir) \
107109
&& ./configure --prefix="$$install_prefix"

‎src/Makefile.global.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*-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 $
33

44
#------------------------------------------------------------------------------
55
# All PostgreSQL makefiles include this file and use the variables it sets,
@@ -475,10 +475,10 @@ TAS = @TAS@
475475
$(CPP)$(CPPFLAGS) -o$@$<
476476

477477
%.gz:%
478-
$(GZIP) -f --best$<
478+
$(GZIP) --best-c$<>$@
479479

480480
%.bz2:%
481-
$(BZIP2) -f$<
481+
$(BZIP2) -c$<>$@
482482

483483
ifndefPGXS
484484

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp