File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Makefile to generate the CSS2 document based on its "source files"
22# Arnaud Le Hors - lehors@w3.org
3- # $Id: Makefile,v 1.20 1997-09-10 13:21:38 lehors Exp $
3+ # $Id: Makefile,v 1.21 1997-09-12 14:37:41 bbos Exp $
44
55ROOT = .
66
@@ -129,7 +129,12 @@ DEXTR= $(PERL) ./bin/dextr
129129
130130# utility to generate the PostScript version
131131# -R seems broken for this spec.
132- HTML2PS = $(PERL ) html2ps -f html2psrc
132+ HTML2PS = $(PERL ) ./bin/html2ps -f html2psrc
133+
134+ # PS -> GIF tools
135+ MYPSTOPNM = ./bin/mypstopnm -r 75
136+ PPMQUANT = ppmquant 256
137+ PPMTOGIF = ppmtogif -trans rgb:ffff/ffff/ffff
133138
134139# include paths
135140INCLUDES = -Ibuild -I.
@@ -140,7 +145,7 @@ TAR= tar
140145ZIP = zip
141146LN = ln
142147
143- .SUFFIXES : .src .html .srb
148+ .SUFFIXES : .src .html .srb .idraw .gif
144149
145150.src.html :
146151 @if [ ! -d build/index ]; then mkdir -p build/index; fi
@@ -155,8 +160,12 @@ LN= ln
155160 $(INSAFTER ) - build/subtoc.$$$$ /H1 $@ ; \
156161 $(RM ) build/subtoc.$$$$
157162
163+ .idraw.gif :
164+ $(MYPSTOPNM ) $< | $(PPMQUANT ) | $(PPMTOGIF ) > $@
165+
158166
159- all : blocks $(PROPERTYDB ) $(VALUEDB ) $(HEADINGDB ) $(SPECOBJS ) $(INDEXES )
167+ all : blocks $(PROPERTYDB ) $(VALUEDB ) $(HEADINGDB ) $(SPECOBJS ) $(INDEXES ) \
168+ $(IMAGES )
160169
161170install : all css20.tgz
162171 @if [ ! -d $( INSTALLDIR) ]; then mkdir -p $(INSTALLDIR ) ; fi
You can’t perform that action at this time.
0 commit comments