[Mageia-sysadm] [494] Fix tarball name by adding the date of the creation

root at mageia.org root at mageia.org
Wed Feb 9 15:20:44 CET 2011


Revision: 494
Author:   dmorgan
Date:     2011-02-09 15:20:44 +0100 (Wed, 09 Feb 2011)
Log Message:
-----------
Fix tarball name by adding the date of the creation

Modified Paths:
--------------
    mageia-kde4-config/trunk/Makefile

Modified: mageia-kde4-config/trunk/Makefile
===================================================================
--- mageia-kde4-config/trunk/Makefile	2011-02-09 14:12:24 UTC (rev 493)
+++ mageia-kde4-config/trunk/Makefile	2011-02-09 14:20:44 UTC (rev 494)
@@ -1,7 +1,7 @@
 PACKAGE = mageia-kde4-config
 PKGVERSION = $(VERSION)
 VERSION = 1
-
+DATE = `date  +%m%d%Y`
 .PHONY: all $(DIRS) clean
 
 clean:
@@ -17,5 +17,5 @@
 localdist: tar
 
 tar: localcopy
-	tar cfa $(PACKAGE)-$(PKGVERSION).tar.lzma $(PACKAGE)-$(PKGVERSION)
+	tar cfa $(PACKAGE)-$(PKGVERSION).$(DATE).tar.lzma $(PACKAGE)-$(PKGVERSION)
 	rm -rf $(PACKAGE)-$(PKGVERSION)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110209/2952d765/attachment.html>


More information about the Mageia-sysadm mailing list