|
1 | | -# $Id$ |
| 1 | +# $Id: Makefile,v 1.5 2008/02/06 14:05:15 mike Exp $ |
2 | 2 | # |
3 | | -# http://dev.w3.org/buildtools/css3-module-postprocessor/Makefile |
| 3 | +# FIXME: New documentation needed. |
4 | 4 | # |
5 | | -# This is a makefile for generating output using the CSS3 module |
6 | | -# postprocessor. Details about that are here: |
7 | | -# |
8 | | -# http://www.w3.org/Style/Group/css3-src/bin/postprocess |
9 | | -# |
10 | | -# To use this makefile, you need to have the "make" and "curl" |
11 | | -# programs installed. If you are running a Windows/MS-DOS system, |
12 | | -# you can download the "make" and "curl" programs from here: |
13 | | -# |
14 | | -# http://gnuwin32.sourceforge.net/downlinks/make.php |
15 | | -# http://curl.haxx.se/dlwiz/?type=bin&os=Win32&flav=-&ver=2000/XP |
16 | | -# |
17 | | -# You also need to install either a .curl-w3.org (*NIX/*BSD) or _curlrc |
18 | | -# (MS-DOS ) file in your HOME directory, with at minimum the |
19 | | -# following contents: |
20 | | -# |
21 | | -# user = foo:bar |
22 | | -# |
23 | | -# ...where "foo" and "bar" are your W3C username and password. |
24 | | - |
25 | | -SOURCEFILE=Transforms.src.html |
26 | | -LINKEDFILE=.Transforms.linked.html |
| 5 | + |
| 6 | +SOURCEFILE=Overview.src.html |
| 7 | +LINKEDFILE=.Overview.linked.html |
27 | 8 | OUTPUTFILE=Overview.html |
28 | 9 | EXTERNALLINKS=perl external-spec-links.pl |
29 | | -PROCESSCGI=https://www.w3.org/Style/Group/process.cgi |
30 | | -CURL=curl |
31 | | -CURLFLAGS= |
32 | | - |
33 | | -# if you want to set a publication date other than today's date, |
34 | | -# invoke make like this: "make PUBDATE=2008-03-19" |
35 | | -PUBMSG= |
36 | | -PUBDATE= |
37 | | -USER= |
| 10 | +PREPROCESSOR=bikeshed.py |
38 | 11 |
|
39 | | -all: $(OUTPUTFILE) |
| 12 | +all: $(OUTPUTFILE) |
40 | 13 |
|
41 | 14 | .%.linked.html : %.src.html |
42 | 15 | $(EXTERNALLINKS) "$<" > "$@" |
43 | 16 |
|
44 | 17 | $(OUTPUTFILE): $(LINKEDFILE) |
45 | | -ifeq (,$(PUBDATE)) |
46 | | - $(CURL) $(CURLFLAGS) -K ~/.curl-w3.org -F file="@$<" -o "$@" -F group=FX -F output=html -F method=file $(PROCESSCGI) |
47 | | -else |
48 | | - $(CURL) $(CURLFLAGS) -K ~/.curl-w3.org -F file="@$<" -o "$@" -F group=FX -F output=html -F method=file $(PROCESSCGI) -F date=$(PUBDATE) |
49 | | -endif |
| 18 | + $(PREPROCESSOR) -f spec "$<" "$@" |
50 | 19 |
|
51 | 20 |
|
52 | | - |
53 | | - |
0 commit comments