77# http://www.w3.org/TR/[YEAR]/CR-[SHORTNAME]-[CDATE]/
88# Or set that URL to [VERSION] and call Make as: make status=CR
99#
10- #
11- # Possible other options to add to the curl command below:
12- # -F ids=on
13- # -F omitdchtml=on
14- # e.g., like this: make opts="-F ids=on -F omitdchtml=on"
10+ # Additional options may be specified via opts, e.g.:
11+ # make opts='-F md-prepare-for-tr=yes'
1512
1613cdate ?=
1714status ?=
1815group ?= CSS
1916opts ?=
2017target ?= Overview
21- markup ?= html
2218
2319% .html : % .src.html
2420 @echo " Calling post-processor to generate $@ ..."
@@ -31,11 +27,11 @@ markup ?= html
3127 -F group=$(group ) -F method=file -F date=$(cdate ) -F status=$(status ) \
3228 $(opts ) -o $@ https://www.w3.org/Style/Group/process.cgi
3329% .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 /
30+ curl -s -L -F file=@$< -F md-date =$(cdate ) -F output=html \
31+ -F type=bikeshed-spec $(opts ) -o $@ https ://www.w3 .org/publications/spec-generator /
3632% .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 /
33+ curl -s -L -F file=@$< -F md-date =$(cdate ) -F output=messages \
34+ -F type=bikeshed-spec $(opts ) -o $@ https ://www.w3 .org/publications/spec-generator /
3935
4036# For Dispositions of Comments in css3-background:
4137% .html : % .txt; awk -f issues-txt-to-html.awk $< >$@
@@ -52,11 +48,11 @@ markup ?= html
5248
5349all : check $(target ) .html
5450
55- # egrep will exit with a zero exit code if there is anything left
51+ # fgrep will exit with a zero exit code if there is anything left
5652check : $(target ) .err
5753 @cat $<
58- @if egrep -qv ' ^(Warning:|\(Processed in .* seconds\)|No errors) ' $< ; \
59- then false ; else true ; fi
54+ @if fgrep -q ' "messageType":"success" ' $< ; \
55+ then true ; else false ; fi
6056
6157
6258# A handy shortcut:
0 commit comments