Skip to content

Commit c666564

Browse files
committed
[css2] Added idraw->gif conversion routines.
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%4065
1 parent cb7e79a commit c666564

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

css2/Makefile

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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

55
ROOT = .
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
135140
INCLUDES= -Ibuild -I.
@@ -140,7 +145,7 @@ TAR= tar
140145
ZIP= zip
141146
LN= 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

161170
install: all css20.tgz
162171
@if [ ! -d $(INSTALLDIR) ]; then mkdir -p $(INSTALLDIR);fi

0 commit comments

Comments
 (0)