From e301ff05c9c774caca5abdc2d9e01289bdd9cc8f Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 27 Sep 2007 12:37:22 +0000 Subject: (dis) use svn export --- Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6d6dd60..708dc22 100644 --- a/Makefile +++ b/Makefile @@ -40,9 +40,7 @@ clean: dis: rm -rf $(NAME)-$(VERSION) ../$(NAME)-$(VERSION).tar* - mkdir -p $(NAME)-$(VERSION) - find . -not -name "$(NAME)-$(VERSION)"|cpio -pld $(NAME)-$(VERSION)/ - find $(NAME)-$(VERSION) -type d -name .svn -o -name .cvsignore |xargs rm -rf - tar cf ../$(NAME)-$(VERSION).tar $(NAME)-$(VERSION) - bzip2 -9f ../$(NAME)-$(VERSION).tar + svn export -q -rBASE . $(NAME)-$(VERSION) + find $(NAME)-$(VERSION) -name '*.pl' -o -name drakmenustyle | xargs perl -pi -e 's/\s*use\s+(diagnostics|vars|strict).*//g' + tar cjf ../$(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION) rm -rf $(NAME)-$(VERSION) -- cgit v1.2.1