Skip to content

Commit c5af876

Browse files
committed
[css-regions] Added some useful rules to the Makefile.
1 parent ba1779b commit c5af876

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

css-regions/Makefile

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
11
# use this command line now, or a local bikeshed
22

3-
# curl http://api.csswg.org/bikeshed/ -F file=@Overview.src.html > Overview.html
3+
# curl http://api.csswg.org/bikeshed/ -F file=@Overview.src.html > Overview.html
4+
5+
%.html: %.src.html
6+
curl -s -L -F file=@$< -F time=$(cdate) -F output=html \
7+
-F paragraph=$(markup) $(opts) -o $@ http://api.csswg.org/bikeshed/
8+
%.err: %.src.html
9+
curl -s -L -F file=@$< -F time=$(cdate) -F output=err \
10+
-F paragraph=$(markup) $(opts) http://api.csswg.org/bikeshed/ >$@
11+
12+
all: check Overview.html
13+
14+
check: Overview.err
15+
@if test -s $<; then false; else true; fi
16+
@cat $<

0 commit comments

Comments
 (0)