Fri, 08 Feb 2013 21:43:29 -0800
[css3-conditional] Specify behavior of insertRule when given an empty string or more than one syntactically valid rule.
This is as proposed in
http://lists.w3.org/Archives/Public/www-style/2013Feb/0229.html
and addresses Last Call issue 5.
1 # Calling the post-processor with file-upload. Assumes the username
2 # and password are in ~/.curl-w3.org (user = USER:PASS)
3 #
4 # To set a date other than today, use: make cdate=YYYYMMDD
5 #
6 # To set the status, modify one of the "this version" URLs:
7 # http://www.w3.org/TR/[YEAR]/CR-[SHORTNAME]-[CDATE]/
8 # Or set that URL to [VERSION] and call Make as: make status=CR
9 #
10 #
11 # Possible other options to add to the curl command below:
12 # -F ids=on
14 cdate = $(shell date +%Y%m%d)
15 status = ED
17 %.html: %.src.html
18 @echo "Calling post-processor to generate $@..."
19 @curl -F file=@$< -F group=CSS -F output=html -F method=file -s \
20 -F date=$(cdate) -F status=$(status) \
21 -K ~/.curl-w3.org https://www.w3.org/Style/Group/process.cgi >$@
22 %.err: %.src.html
23 @echo "Calling post-processor to check $<..."
24 @curl -F file=@$< -F group=CSS -F output=err -F method=file -s \
25 -F date=$(cdate) -F status=$(status) \
26 -K ~/.curl-w3.org https://www.w3.org/Style/Group/process.cgi >$@
30 all: check Overview.html
31 @echo Done.
33 check: Overview.err
34 @cat $<
35 @grep -q '^No errors$$' $< # Force a non-zero exit code if errors
39 # A handy shortcut:
41 clean:
42 rm Overview.html
46 .PHONY: check clean