W3C home > Mailing lists > Public > public-css-commits@w3.org > November 2011

csswg/css3-flexbox Makefile,1.1,1.2

From: Bert Bos via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 24 Nov 2011 19:58:01 +0000
To: public-css-commits@w3.org
Message-Id: <E1RTfQn-0000ju-4k@lionel-hutz.w3.org>
Update of /sources/public/csswg/css3-flexbox
In directory hutz:/tmp/cvs-serv2828

Modified Files:
	Makefile 
Log Message:
Added the cdate parameter to generate Overview.html with a different
date than today's date.


Index: Makefile
===================================================================
RCS file: /sources/public/csswg/css3-flexbox/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Makefile	12 May 2009 22:31:24 -0000	1.1
+++ Makefile	24 Nov 2011 19:57:59 -0000	1.2
@@ -1,17 +1,22 @@
 # Calling the post-processor with file-upload. Assumes the username
 # and password are in ~/.curl-w3.org
 #
+# To set a date other than today, use: make cdate=YYYYMMDD
+#
 # Possible other options:
-# -F date=YYYY-MM-DD
 # -F ids=on
 
+cdate = $(shell date +%Y%m%d)
+
 %.html: %.src.html
 	@echo "Calling post-processor to generate $@..."
 	@curl --basic -F file=@$< -F group=CSS -F output=html -F method=file -s \
+	-F date=$(cdate) \
 	-K ~/.curl-w3.org http://cgi.w3.org/member-bin/process.cgi >$@
 %.err: %.src.html
 	@echo "Calling post-processor to check $<..."
 	@curl --basic -F file=@$< -F group=CSS -F output=err -F method=file -s \
+	-F date=$(cdate) \
 	-K ~/.curl-w3.org http://cgi.w3.org/member-bin/process.cgi >$@
 
 
Received on Thursday, 24 November 2011 19:58:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 24 November 2011 19:58:06 GMT