File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,13 +30,28 @@ markup ?= html
3030 @curl -K ~ /.curl-w3.org -s -S -F output=err -F file=@$< \
3131 -F group=$(group ) -F method=file -F date=$(cdate ) -F status=$(status ) \
3232 $(opts ) -o $@ https://www.w3.org/Style/Group/process.cgi
33- % .html : % .bs
33+ % .html : % .tmp
3434 curl -s -L -F file=@$< -F time=$(cdate ) -F output=html \
3535 -F paragraph=$(markup ) $(opts ) -o $@ http://api.csswg.org/bikeshed/
36- % .err : % .bs
36+ % .err : % .tmp
37+ rm -f $@
38+ touch $@
3739 curl -s -L -F file=@$< -F time=$(cdate ) -F output=err \
3840 -F paragraph=$(markup ) $(opts ) -o $@ http://api.csswg.org/bikeshed/
3941
42+ % .tmp : % .bs
43+ cp $< $@
44+ if [ " $( cdate) " != " " ]; then sed -r -i " \
45+ /< pre class=[' \"]?metadata/,/<\/pre/{ \
46+ s/^Date:.* /Date: $(cdate ) /; \
47+ s/< \/ pre/Date: $(cdate ) \n & /; \
48+ }" $@ ; fi
49+ if [ " $( status) " != " " ]; then sed -r -i " \
50+ /< pre class=[' \"]?metadata/,/<\/pre/{ \
51+ s/^Status:.* /Status: $(status ) /; \
52+ s/< \/ pre/Status: $(status ) \n & /; \
53+ }" $@ ; fi
54+
4055# For Dispositions of Comments in css3-background:
4156% .html : % .txt; awk -f issues-txt-to-html.awk $< >$@
4257
@@ -70,7 +85,7 @@ update:
7085 hg update
7186
7287clean :
73- rm -f $(target ) .html $(target ) .err
88+ rm -f $(target ) .html $(target ) .err $( target ) .tmp
7489
7590
7691
You can’t perform that action at this time.
0 commit comments