From ca2ba09c6a3ec9fe0fe7d506f54bff2ce3bf9318 Mon Sep 17 00:00:00 2001 From: dim Date: Mon, 25 Feb 2008 15:47:18 +0000 Subject: [PATCH] Fix Makefile archive building --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index ca29381..d2e17d4 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.13 2008-02-25 14:55:29 dim Exp $ +# $Id: Makefile,v 1.14 2008-02-25 15:47:18 dim Exp $ # # Makefile for debian packaging purpose, make install not intended to work. @@ -56,7 +56,7 @@ man: ${DOCS:.txt=.xml} deb: # working copy from where to make the .orig archive rm -rf $(DEBDIR) - mkdir -p $(DEBDIR)/pgloader-$(SHORTVER) + mkdir -p $(DEBDIR)/pgloader-$(VERSION) mkdir -p $(EXPORT) cp -a . $(EXPORT) for n in ".#*" "*~" "*.pyc" "build-stamp" "configure-stamp"; do \ @@ -67,8 +67,8 @@ deb: # prepare the .orig without the debian/ packaging stuff cp -a $(EXPORT) $(DEBDIR) - rm -rf $(DEBDIR)/pgloader-$(SHORTVER)/debian - (cd $(DEBDIR) && tar czf $(ORIG) pgloader-$(SHORTVER)) + rm -rf $(DEBDIR)/pgloader-$(VERSION)/debian + (cd $(DEBDIR) && tar czf $(ORIG) pgloader-$(VERSION)) # have a copy of the $ORIG file named $ARCHIVE for non-debian packagers cp $(ORIG) $(ARCHIVE)