pld-builder.new: Makefile - use date in version
glen
glen at pld-linux.org
Mon Mar 30 15:46:22 CEST 2009
Author: glen Date: Mon Mar 30 13:46:22 2009 GMT
Module: pld-builder.new Tag: HEAD
---- Log message:
- use date in version
---- Files affected:
pld-builder.new:
Makefile (1.4 -> 1.5)
---- Diffs:
================================================================
Index: pld-builder.new/Makefile
diff -u pld-builder.new/Makefile:1.4 pld-builder.new/Makefile:1.5
--- pld-builder.new/Makefile:1.4 Fri Feb 6 03:32:12 2009
+++ pld-builder.new/Makefile Mon Mar 30 15:46:17 2009
@@ -1,5 +1,6 @@
PACKAGE := pld-builder
VERSION := 0.3
+SNAP := $(shell date +%Y%m%d)
# for make dist
CVSROOT := :pserver:cvs at cvs.pld-linux.org:/cvsroot
@@ -13,8 +14,8 @@
find -name '*.pyc' | xargs rm -f
dist:
- rm -rf $(PACKAGE)-$(VERSION)
- mkdir -p $(PACKAGE)-$(VERSION)
- cvs -d $(CVSROOT) export -d $(PACKAGE)-$(VERSION) -r $(CVSTAG) $(CVSMODULE)
- tar -cjf $(PACKAGE)-$(VERSION).tar.bz2 $(PACKAGE)-$(VERSION)
- rm -rf $(PACKAGE)-$(VERSION)
+ rm -rf $(PACKAGE)-$(VERSION).$(SNAP)
+ mkdir -p $(PACKAGE)-$(VERSION).$(SNAP)
+ cvs -d $(CVSROOT) export -d $(PACKAGE)-$(VERSION).$(SNAP) -r $(CVSTAG) $(CVSMODULE)
+ tar -cjf $(PACKAGE)-$(VERSION).$(SNAP).tar.bz2 $(PACKAGE)-$(VERSION).$(SNAP)
+ rm -rf $(PACKAGE)-$(VERSION).$(SNAP)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/pld-builder.new/Makefile?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list