[LON-CAPA-cvs] cvs: loncom /build Makefile
albertel
lon-capa-cvs-allow@mail.lon-capa.org
Tue, 03 Apr 2007 22:09:18 -0000
albertel Tue Apr 3 18:09:18 2007 EDT
Modified files:
/loncom/build Makefile
Log:
- add hour into build date
Index: loncom/build/Makefile
diff -u loncom/build/Makefile:1.182 loncom/build/Makefile:1.183
--- loncom/build/Makefile:1.182 Fri Jun 16 15:38:16 2006
+++ loncom/build/Makefile Tue Apr 3 18:09:18 2007
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
-# $Id: Makefile,v 1.182 2006/06/16 19:38:16 albertel Exp $
+# $Id: Makefile,v 1.183 2007/04/03 22:09:18 albertel Exp $
# TYPICAL USAGE of this Makefile is primarily for two targets:
# "make build" and "make install".
@@ -502,12 +502,12 @@
aboutVERSION:
cat $(SOURCE)/loncom/license/about.html | \
- perl -e '$$d=`date +"%Y%m%d"`;chomp($$d);while(<>){s/\<\!\-\- VERSION \-\-\>/$(VERSION)-$$d/; print;}' > \
+ perl -e '$$d=`date +"%Y%m%d%H"`;chomp($$d);while(<>){s/\<\!\-\- VERSION \-\-\>/$(VERSION)-$$d/; print;}' > \
$(SOURCE)/loncom/license/about.html.new
mv -v $(SOURCE)/loncom/license/about.html.new \
$(SOURCE)/loncom/license/about.html
cat $(SOURCE)/loncom/loncapa_apache.conf | \
- perl -e '$$d=`date +"%Y%m%d"`;chomp($$d);while(<>){s/\<\!\-\- VERSION \-\-\>/$(VERSION)-$$d/; print;}' > \
+ perl -e '$$d=`date +"%Y%m%d%H"`;chomp($$d);while(<>){s/\<\!\-\- VERSION \-\-\>/$(VERSION)-$$d/; print;}' > \
$(SOURCE)/loncom/loncapa_apache.conf.new
mv -v $(SOURCE)/loncom/loncapa_apache.conf.new \
$(SOURCE)/loncom/loncapa_apache.conf