From ff10249ee1f917ba8c0417cf47e5a50e4f050b18 Mon Sep 17 00:00:00 2001 From: "p.kosyh" Date: Sun, 6 Jun 2010 11:55:06 +0000 Subject: [PATCH] make tarball fix --- Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 207c7d1..9c4e968 100644 --- a/Makefile +++ b/Makefile @@ -20,15 +20,17 @@ config.make: svnclean: svn st | grep "^?" | awk '{ print $$2 }' | grep -v "config.make" | while read l; do $(RM) -rf $$l; done -docs: +rules: + $(RM) -f Rules.make + ln -sf Rules.make.standalone Rules.make + +docs: rules make pdf -C doc/ make wiki -C doc/ man doc/instead.6 > doc/instead.txt -tarball: clean svnclean docs +tarball: clean svnclean docs rules echo "# you can define own flags here" > config.make - $(RM) -f Rules.make - ln -sf Rules.make.standalone Rules.make ln -sf ./ $(VERTITLE) tar -cz --exclude $(VERTITLE)/$(VERTITLE) --exclude .svn --exclude $(ARCHIVE) --exclude windows.tar.gz -f $(ARCHIVE) $(VERTITLE)/* $(RM) -f $(VERTITLE)