summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-02-22 20:54:48 +0000
committerThierry Vignaud <tv@mandriva.org>2007-02-22 20:54:48 +0000
commit79470a00d74001c59719ad85696d5e610d739381 (patch)
tree59ddf69600a84d607137e2d05ffbbc253a5f1f05 /Makefile
parentacb01ec5e63bd244432a697901cc3de6a52f29ee (diff)
downloadldetect-79470a00d74001c59719ad85696d5e610d739381.tar
ldetect-79470a00d74001c59719ad85696d5e610d739381.tar.gz
ldetect-79470a00d74001c59719ad85696d5e610d739381.tar.bz2
ldetect-79470a00d74001c59719ad85696d5e610d739381.tar.xz
ldetect-79470a00d74001c59719ad85696d5e610d739381.zip
use svn export instead of tar for preparing the tarball
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index e98ea29..12edf9f 100644
--- a/Makefile
+++ b/Makefile
@@ -51,10 +51,7 @@ install: build
install libldetect.h $(includedir)
dis ../$(NAME)-$(VERSION).tar.bz2: clean
- rm -rf $(NAME)-$(VERSION)
- mkdir -p $(NAME)-$(VERSION)
- find -not -name $(NAME)-$(VERSION) | cpio -pd $(NAME)-$(VERSION)/
- find $(NAME)-$(VERSION) -type d -name .svn | xargs rm -rf
+ svn export -q . $(NAME)-$(VERSION)
tar cfj ../$(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION)
rm -rf $(NAME)-$(VERSION)