summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDexter Morgan <dmorgan@mageia.org>2011-02-03 19:57:59 +0000
committerDexter Morgan <dmorgan@mageia.org>2011-02-03 19:57:59 +0000
commit3e04d9cf084c859f400d2aadf9a592ea82ad9939 (patch)
treeae71247ec391c1d289cd7170ba924c1507300011
parentc10932dedc1aff274463384031298caa5906b3cc (diff)
downloaddrakx-net-3e04d9cf084c859f400d2aadf9a592ea82ad9939.tar
drakx-net-3e04d9cf084c859f400d2aadf9a592ea82ad9939.tar.gz
drakx-net-3e04d9cf084c859f400d2aadf9a592ea82ad9939.tar.bz2
drakx-net-3e04d9cf084c859f400d2aadf9a592ea82ad9939.tar.xz
drakx-net-3e04d9cf084c859f400d2aadf9a592ea82ad9939.zip
Simplify make for git and tarball creation
Merge mdv commit 271835
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c0dd036..0500df7 100644
--- a/Makefile
+++ b/Makefile
@@ -42,12 +42,19 @@ install:
perl -pe 's/.*X-KDE.*\n//;s/\s+--force//g' $(DESTDIR)$(desktopdir)/net_applet.desktop > $(DESTDIR)$(autostartgnomedir)/net_applet.desktop
make -C po install
-dis:
+cleandist:
+ rm -rf $(NAME)-$(VERSION) ../$(NAME)-$(VERSION).tar*
+
+dis: cleandist
rm -rf $(NAME)-$(VERSION) ../$(NAME)-$(VERSION).tar*
svn export -q -rBASE . $(NAME)-$(VERSION)
tar cfj ../$(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION)
rm -rf $(NAME)-$(VERSION)
+gitdist: cleandist
+ git archive --prefix $(NAME)-$(VERSION)/ HEAD | bzip2 -9 > ../$(NAME)-$(VERSION).tar.bz2
+ rm -rf $(NAME)-$(VERSION)
+
clean:
make -C po clean