aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index a769cda..2fbfc81 100644
--- a/Makefile
+++ b/Makefile
@@ -41,17 +41,17 @@ cleandist: clean
dir:
mkdir $(PACKAGE)-$(VERSION)
-localcopy:
- tar c $(FILES) | tar x -C $(PACKAGE)-$(VERSION)
+localcopy: dir
+ tar c $(FILES) | (cd $(PACKAGE)-$(VERSION) ; tar x)
-tar:
+tar: dir
tar cvf $(PACKAGE)-$(VERSION).tar $(PACKAGE)-$(VERSION)
bzip2 -9vf $(PACKAGE)-$(VERSION).tar
rm -rf $(PACKAGE)-$(VERSION)
# rules to build a public distribution
-dist: cleandist dir localcopy tar svntag
+dist: tar
svntag:
svn cp -m 'version $(VERSION)' $(SVNPATH)/trunk $(SVNPATH)/tags/v$(VERSION)