diff options
author | Dexter Morgan <dmorgan@mageia.org> | 2011-02-03 19:57:59 +0000 |
---|---|---|
committer | Dexter Morgan <dmorgan@mageia.org> | 2011-02-03 19:57:59 +0000 |
commit | 3e04d9cf084c859f400d2aadf9a592ea82ad9939 (patch) | |
tree | ae71247ec391c1d289cd7170ba924c1507300011 | |
parent | c10932dedc1aff274463384031298caa5906b3cc (diff) | |
download | drakx-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-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 |