Skip to content

Commit ce960bf

Browse files
committed
Moved here from /Style/Group/css3-src/css3-box
1 parent 92cb012 commit ce960bf

43 files changed

Lines changed: 16753 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

css3-box/Makefile

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Calling the post-processor with file-upload. Assumes the username
2+
# and password are in ~/.curl-w3.org
3+
#
4+
# To set a date other than today, use: make cdate=YYYYMMDD
5+
#
6+
# Possible other options:
7+
# -F ids=on
8+
9+
cdate = $(shell date +%Y%m%d)
10+
11+
%.html: %.src.html
12+
@echo "Calling post-processor to generate $@..."
13+
@curl -F file=@$< -F group=CSS -F output=html -F method=file -s \
14+
-F date=$(cdate) \
15+
-K ~/.curl-w3.org http://cgi.w3.org/member-bin/process.cgi >$@
16+
%.err: %.src.html
17+
@echo "Calling post-processor to check $<..."
18+
@curl -F file=@$< -F group=CSS -F output=err -F method=file -s \
19+
-F date=$(cdate) \
20+
-K ~/.curl-w3.org http://cgi.w3.org/member-bin/process.cgi >$@
21+
22+
23+
24+
all: check Overview.html
25+
@echo Done.
26+
27+
check: Overview.err
28+
@cat $<
29+
@grep -q '^No errors$$' $< # Force a non-zero exit code if errors
30+
31+
32+
# Conversions:
33+
34+
%.eps: %.fig; fig2dev -m 0.8 -L eps -F -c $< $@
35+
%.png: %.eps; convert -density 96x96 $< $@
36+
%.png: %.idraw; convert -density 96x96 $< $@
37+
%: %.png; ln -sf $< $@
38+
39+
40+
# A handy shortcut:
41+
42+
commit: update clean all
43+
cvs commit -m 'Generated. Do not edit!' Overview.html
44+
45+
update:
46+
cvs update
47+
48+
clean:
49+
rm Overview.html
50+
51+
52+
53+
.PHONY: check commit update clean
54+
.PRECIOUS: %.png

0 commit comments

Comments
 (0)