[Mageia-sysadm] [408] Merge mdv commit 271835

root at mageia.org root at mageia.org
Thu Feb 3 20:58:00 CET 2011


Revision: 408
Author:   dmorgan
Date:     2011-02-03 20:57:59 +0100 (Thu, 03 Feb 2011)
Log Message:
-----------
Merge mdv commit 271835

Modified Paths:
--------------
    drakx-net/trunk/Makefile

Modified: drakx-net/trunk/Makefile
===================================================================
--- drakx-net/trunk/Makefile	2011-02-03 19:56:04 UTC (rev 407)
+++ drakx-net/trunk/Makefile	2011-02-03 19:57:59 UTC (rev 408)
@@ -42,12 +42,19 @@
 	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
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110203/ab4feda7/attachment.html>


More information about the Mageia-sysadm mailing list