Skip to content

Commit edd637a

Browse files
committed
Explained the two ways to set a status other than ED. Commit and update now use mercurial instead of CVS.
1 parent 51227ad commit edd637a

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

css3-flexbox/Makefile

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,25 @@
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 --basic -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 --basic -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

2227

@@ -33,10 +38,11 @@ check: Overview.err
3338
# A handy shortcut:
3439

3540
commit: update clean all
36-
cvs commit -m 'Generated. Do not edit!' Overview.html
41+
hg commit -m 'Generated. Do not edit!' Overview.html
42+
hg push
3743

3844
update:
39-
cvs update
45+
hg pull -u
4046

4147
clean:
4248
rm Overview.html

0 commit comments

Comments
 (0)