From 7b4715a4962fae23009327a41b2bbe11f87d69af Mon Sep 17 00:00:00 2001 From: nalin Date: Jul 09 2001 23:27:33 +0000 Subject: fix archive target --- diff --git a/Makefile b/Makefile index dc3718f..a863ad7 100644 --- a/Makefile +++ b/Makefile @@ -38,7 +38,7 @@ clean: archive: cvs -d `cat CVS/Root` tag -cF $(CVSTAG) . @rm -rf /tmp/$(PROGNAME)-$(VERSION) /tmp/$(PROGNAME) - @cd /tmp; cvs -d `cat CVS/Root` export -r$(CVSTAG) $(PROGNAME) + @dir=$$PWD; cd /tmp; cvs -d `cat $$PWD/CVS/Root` export -r$(CVSTAG) $(PROGNAME) @mv /tmp/$(PROGNAME) /tmp/$(PROGNAME)-$(VERSION) @dir=$$PWD; cd /tmp; tar cvzf $$dir/$(PROGNAME)-$(VERSION).tar.gz \ $(PROGNAME)-$(VERSION)