summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2009-04-03 17:46:45 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2009-04-03 17:46:45 +0000
commitf2f21093b7c06d33e8eb448f3cae5ddeb89346c6 (patch)
tree363e59ea10df021fd57a07d9ff16cb4a10d181fd
parentec5685716018f00c9e7408af600bfd6989443334 (diff)
downloadldetect-f2f21093b7c06d33e8eb448f3cae5ddeb89346c6.tar
ldetect-f2f21093b7c06d33e8eb448f3cae5ddeb89346c6.tar.gz
ldetect-f2f21093b7c06d33e8eb448f3cae5ddeb89346c6.tar.bz2
ldetect-f2f21093b7c06d33e8eb448f3cae5ddeb89346c6.tar.xz
ldetect-f2f21093b7c06d33e8eb448f3cae5ddeb89346c6.zip
Add dist and tar as synonymous to the dis target
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ecfa9ab..77c2ee5 100644
--- a/Makefile
+++ b/Makefile
@@ -58,7 +58,12 @@ install: build
cp -a $(libraries) $(libdir)
install libldetect.h $(includedir)
-dis ../$(NAME)-$(VERSION).tar.bz2: clean
+dist: dis
+dis ../$(NAME)-$(VERSION).tar.bz2: tar
+
+tar: dist-svn
+
+dist-svn:
svn export -q -rBASE . $(NAME)-$(VERSION)
tar cfj ../$(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION)
rm -rf $(NAME)-$(VERSION)