11# Calling the post-processor with file-upload. Assumes the username
22# and password are in ~/.curl-w3.org (user = USER:PASS)
33#
4- # To set a date other than today, use: make cdate=YYYYMMDD
4+ # To set a date other than today, use: make date=YYYY-MM-DD
5+ #
6+ # "cdate" is an alias for "date": "make cdate=YYYY-MM-DD" works, too.
57#
68# To set the status, modify one of the "this version" URLs:
79# http://www.w3.org/TR/[YEAR]/CR-[SHORTNAME]-[CDATE]/
1315# -F omitdchtml=on
1416# e.g., like this: make opts="-F ids=on -F omitdchtml=on"
1517
16- cdate ?=
17- status ?=
18+ date ?=
19+ status ?= ED
1820group ?= CSS
1921opts ?=
2022target ?= Overview
2123markup ?= html
24+ cdate ?= $(date )
25+
2226
2327% .html : % .src.html
2428 @echo " Calling post-processor to generate $@ ..."
@@ -31,11 +35,15 @@ markup ?= html
3135 -F group=$(group ) -F method=file -F date=$(cdate ) -F status=$(status ) \
3236 $(opts ) -o $@ https://www.w3.org/Style/Group/process.cgi
3337% .html : % .bs
34- curl -s -L -F file=@$< -F time=$(cdate ) -F output=html \
35- -F paragraph=$(markup ) $(opts ) -o $@ http://api.csswg.org/bikeshed/
38+ @echo " - Calling Bikeshed to generate $@ ..."
39+ @curl -o $@ -s -L -F file=@$< -F md-date=$(cdate ) -F md-status=$(status ) \
40+ -F output=html -F paragraph=$(markup ) $(opts ) http://api.csswg.org/bikeshed/
3641% .err : % .bs
37- curl -s -L -F file=@$< -F time=$(cdate ) -F output=err \
38- -F paragraph=$(markup ) $(opts ) -o $@ http://api.csswg.org/bikeshed/
42+ @echo " - Calling Bikeshed to check $<..."
43+ @rm -f $@
44+ @touch $@
45+ @curl -o $@ -s -L -F file=@$< -F md-date=$(cdate ) -F md-status=$(status ) \
46+ -F output=err -F paragraph=$(markup ) $(opts ) http://api.csswg.org/bikeshed/
3947
4048# For Dispositions of Comments in css3-background:
4149% .html : % .txt; awk -f issues-txt-to-html.awk $< >$@
0 commit comments