diff options
author | Romain d'Alverny <rda@mageia.org> | 2011-04-28 21:52:57 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2011-04-28 21:52:57 +0000 |
commit | b3e0b9ecef9556ca43a06df69b761169e1432aa4 (patch) | |
tree | c95eebdbc03710505377c735d8282bd86ec5ee9f /Makefile | |
parent | 240dfd732454a88d97d4e2c4f1f93ae9f580865b (diff) | |
download | indexhtml-b3e0b9ecef9556ca43a06df69b761169e1432aa4.tar indexhtml-b3e0b9ecef9556ca43a06df69b761169e1432aa4.tar.gz indexhtml-b3e0b9ecef9556ca43a06df69b761169e1432aa4.tar.bz2 indexhtml-b3e0b9ecef9556ca43a06df69b761169e1432aa4.tar.xz indexhtml-b3e0b9ecef9556ca43a06df69b761169e1432aa4.zip |
add a date stamp to archive
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,5 +1,6 @@ PACKAGE = indexhtml -VERSION:= 1 +VERSION = 1 +DATE = `date +%Y%m%d` SVN_URL := $(shell svn info | grep ^URL: | cut -f2 -d\ ) SVN_BASE := $(shell svn info | sed -n '/^URL: \(.*\/$(PACKAGE)\).*/s//\1/p') @@ -26,8 +27,8 @@ localcopy: svn export -q . $(PACKAGE)-$(VERSION) tar: - tar cvf $(PACKAGE)-$(VERSION).tar $(PACKAGE)-$(VERSION) - bzip2 -9vf $(PACKAGE)-$(VERSION).tar + tar cvf $(PACKAGE)-$(VERSION).$(DATE).tar $(PACKAGE)-$(VERSION) + bzip2 -9vf $(PACKAGE)-$(VERSION).$(DATE).tar rm -rf $(PACKAGE)-$(VERSION) |