Skip to content

Commit 5354fa3

Browse files
committed
Added the cdate parameter to generate Overview.html with a different
date than today's date.
1 parent a6e2a88 commit 5354fa3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

css3-flexbox/Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,22 @@
11
# Calling the post-processor with file-upload. Assumes the username
22
# and password are in ~/.curl-w3.org
33
#
4+
# To set a date other than today, use: make cdate=YYYYMMDD
5+
#
46
# Possible other options:
5-
# -F date=YYYY-MM-DD
67
# -F ids=on
78

9+
cdate = $(shell date +%Y%m%d)
10+
811
%.html: %.src.html
912
@echo "Calling post-processor to generate $@..."
1013
@curl --basic -F file=@$< -F group=CSS -F output=html -F method=file -s \
14+
-F date=$(cdate) \
1115
-K ~/.curl-w3.org http://cgi.w3.org/member-bin/process.cgi >$@
1216
%.err: %.src.html
1317
@echo "Calling post-processor to check $<..."
1418
@curl --basic -F file=@$< -F group=CSS -F output=err -F method=file -s \
19+
-F date=$(cdate) \
1520
-K ~/.curl-w3.org http://cgi.w3.org/member-bin/process.cgi >$@
1621

1722

0 commit comments

Comments
 (0)