Skip to content

Commit fa3da40

Browse files
committed
Updated to use Mercurial.
1 parent fd8568b commit fa3da40

1 file changed

Lines changed: 18 additions & 14 deletions

File tree

css3-box/Makefile

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,34 @@
11
# Calling the post-processor with file-upload. Assumes the username
2-
# and password are in ~/.curl-w3.org
2+
# and password are in ~/.curl-w3.org (user = USER:PASS)
33
#
44
# To set a date other than today, use: make cdate=YYYYMMDD
55
#
6-
# Possible other options:
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:
712
# -F ids=on
813

914
cdate = $(shell date +%Y%m%d)
1015

1116
%.html: %.src.html
1217
@echo "Calling post-processor to generate $@..."
1318
@curl -F file=@$< -F group=CSS -F output=html -F method=file -s \
14-
-F date=$(cdate) \
19+
-F date=$(cdate) -F status=$(status) \
1520
-K ~/.curl-w3.org http://cgi.w3.org/member-bin/process.cgi >$@
1621
%.err: %.src.html
1722
@echo "Calling post-processor to check $<..."
1823
@curl -F file=@$< -F group=CSS -F output=err -F method=file -s \
19-
-F date=$(cdate) \
24+
-F date=$(cdate) -F status=$(status) \
2025
-K ~/.curl-w3.org http://cgi.w3.org/member-bin/process.cgi >$@
2126

27+
# For Dispositions of Comments in css3-background:
28+
29+
%.html: %.txt
30+
awk -f issues-txt-to-html.awk $< >$@
31+
2232

2333

2434
all: check Overview.html
@@ -29,24 +39,18 @@ check: Overview.err
2939
@grep -q '^No errors$$' $< # Force a non-zero exit code if errors
3040

3141

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-
3942

4043
# A handy shortcut:
4144

4245
commit: update clean all
43-
cvs commit -m 'Generated. Do not edit!' Overview.html
46+
-hg commit -m 'Generated. Do not edit!' Overview.html
47+
hg push
4448

4549
update:
46-
cvs update
50+
hg pull -u
4751

4852
clean:
49-
rm Overview.html
53+
-rm Overview.html
5054

5155

5256

0 commit comments

Comments
 (0)