forked from w3c/csswg-drafts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
executable file
·39 lines (25 loc) · 886 Bytes
/
Makefile
File metadata and controls
executable file
·39 lines (25 loc) · 886 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Calling the post-processor with file-upload. Assumes the username
# and password are in ~/.curl-w3.org
#
# Possible other options:
# -F date=YYYY-MM-DD
# -F ids=on
%.html: %.src.html
@echo "Calling post-processor to generate $@..."
@curl -F file=@$< -F group=CSS -F output=html -F method=file -s -K ~/.curl-w3.org https://www.w3.org/Style/Group/process.cgi >$@
%.err: %.src.html
@echo "Calling post-processor to check $<..."
@curl -F file=@$< -F group=CSS -F output=err -F method=file -s -K ~/.curl-w3.org https://www.w3.org/Style/Group/process.cgi >$@
all: check Overview.html
@echo Done.
check: Overview.err
@cat $<
@grep -q '^No errors$$' $< # Force a non-zero exit code if errors
# A handy shortcut:
commit: update clean all
cvs commit -m 'Generated. Do not edit!' Overview.html
update:
cvs update
clean:
rm Overview.html
.PHONY: check commit update clean