summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-27 12:37:22 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-27 12:37:22 +0000
commite301ff05c9c774caca5abdc2d9e01289bdd9cc8f (patch)
tree0186af8f27414f25da5edfcd5c7bc28488d8818a /Makefile
parent8e3d359ee5ea0522267324996246d1d6c6e2c8dc (diff)
downloaddrak3d-e301ff05c9c774caca5abdc2d9e01289bdd9cc8f.tar
drak3d-e301ff05c9c774caca5abdc2d9e01289bdd9cc8f.tar.gz
drak3d-e301ff05c9c774caca5abdc2d9e01289bdd9cc8f.tar.bz2
drak3d-e301ff05c9c774caca5abdc2d9e01289bdd9cc8f.tar.xz
drak3d-e301ff05c9c774caca5abdc2d9e01289bdd9cc8f.zip
(dis) use svn export
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 3 insertions, 5 deletions
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)