From fb7d1c0243691a150c5d1cb457fd1c15e584b150 Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Thu, 5 Apr 2012 18:24:55 +0300 Subject: [PATCH] Fix 'make tgz' --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8533d9f..554eb6b 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ EXTENSION = plproxy # sync with NEWS, META.json, plproxy.control, debian/changelog +DISTVERSION = 2.4rc1 EXTVERSION = 2.4.0 # set to 1 to disallow functions containing SELECT @@ -30,7 +31,7 @@ ifdef VPATH PG_CPPFLAGS += -I$(VPATH)/src endif -DISTNAME = $(EXTENSION)-$(EXTVERSION) +DISTNAME = $(EXTENSION)-$(DISTVERSION) # regression testing setup REGRESS = plproxy_init plproxy_test plproxy_select plproxy_many \ @@ -115,7 +116,7 @@ tags: $(SRCS) $(HDRS) ctags $(SRCS) $(HDRS) tgz: - git archive -o $(DISTNAME).tar.gz --prefix=$(DISTNAME)/ HEAD + git archive --prefix=$(DISTNAME)/ HEAD | gzip -9 > $(DISTNAME).tar.gz zip: git archive -o $(DISTNAME).zip --format zip --prefix=$(DISTNAME)/ HEAD -- 2.39.5