summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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