W3C home > Mailing lists > Public > public-css-commits@w3.org > November 2011

csswg/css3-layout Makefile,NONE,1.1

From: Bert Bos via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 04 Nov 2011 16:40:27 +0000
To: public-css-commits@w3.org
Message-Id: <E1RMMod-00055N-VY@lionel-hutz.w3.org>
Update of /sources/public/csswg/css3-layout
In directory hutz:/tmp/cvs-serv19466

Added Files:
Log Message:

--- NEW FILE: Makefile ---
# Calling the post-processor with file-upload. Assumes the username
# and password are in ~/.curl-w3.org
# To set a date other than today, use: make cdate=YYYYMMDD
# Possible other options:
# -F ids=on

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

%.html: %.src.html
	@echo "Calling post-processor to generate $@..."
	@curl -F file=@$< -F group=CSS -F output=html -F method=file -s \
	-F date=$(cdate) \
	-K ~/.curl-w3.org http://cgi.w3.org/member-bin/process.cgi >$@
%.err: %.src.html
	@echo "Calling post-processor to check $<..."
	@curl -F file=@$< -F group=CSS -F output=err -F method=file -s \
	-F date=$(cdate) \
	-K ~/.curl-w3.org http://cgi.w3.org/member-bin/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

	cvs update

	rm Overview.html

.PHONY: check commit update clean
Received on Friday, 4 November 2011 16:40:36 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:44:48 UTC