From 3e04d9cf084c859f400d2aadf9a592ea82ad9939 Mon Sep 17 00:00:00 2001 From: Dexter Morgan Date: Thu, 3 Feb 2011 19:57:59 +0000 Subject: Simplify make for git and tarball creation Merge mdv commit 271835 --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.1