aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-02-22 21:14:13 +0000
committerThierry Vignaud <tv@mandriva.org>2007-02-22 21:14:13 +0000
commitf0705dc378736cc02de002685a05611e6e7dab4a (patch)
tree8fde0bf51886e887b4fcdb804fe3e97b3e4e1351
parentdb21099b7e6a58185b098e104801d385368277a9 (diff)
downloaduserdrake-f0705dc378736cc02de002685a05611e6e7dab4a.tar
userdrake-f0705dc378736cc02de002685a05611e6e7dab4a.tar.gz
userdrake-f0705dc378736cc02de002685a05611e6e7dab4a.tar.bz2
userdrake-f0705dc378736cc02de002685a05611e6e7dab4a.tar.xz
userdrake-f0705dc378736cc02de002685a05611e6e7dab4a.zip
(dis) use svn export instead of tar for preparing the tarball
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index acb844c..a57450d 100644
--- a/Makefile
+++ b/Makefile
@@ -41,9 +41,8 @@ install: all
dis: clean
rm -rf $(NAME)-$(VERSION) ../$(NAME)-$(VERSION).tar*
- mkdir -p $(NAME)-$(VERSION)
- find . -not -name "$(NAME)-$(VERSION)"|cpio -pd $(NAME)-$(VERSION)/
- find $(NAME)-$(VERSION) -type d -name .svn -o -name .svnignore |xargs rm -rf
+ svn export -q . $(NAME)-$(VERSION)
+ find $(NAME)-$(VERSION) -name .svnignore |xargs rm -rf
tar cf ../$(NAME)-$(VERSION).tar $(NAME)-$(VERSION)
bzip2 -9f ../$(NAME)-$(VERSION).tar
rm -rf $(NAME)-$(VERSION)