Skip to content

Commit 4542c19

Browse files
committed
[css2] Now uses prince for the PDF version.
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402423
1 parent 25450ca commit 4542c19

1 file changed

Lines changed: 16 additions & 6 deletions

File tree

css2/Makefile

Lines changed: 16 additions & 6 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 2.93 2006-04-06 22:07:00 bbos Exp $
3+
# $Id: Makefile,v 2.94 2006-04-06 23:26:09 bbos Exp $
44

55
# what needs to be set for every new release:
66
# Note use of full year (1998) in identifier.
@@ -214,6 +214,8 @@ ADDLONGDESC = $(PERL) ./bin/addlongdesc
214214
# utility to generate the PostScript version
215215
#
216216
HTML2PS= $(PERL) bin/html2ps -d -f html2psrc2
217+
PDF2PS=pdftops
218+
HTML2PDF=prince
217219

218220
# IDRAW -> PS -> GIF tools
219221
#PSTOPNM = ./bin/mypstopnm -r 75
@@ -343,20 +345,28 @@ errata.html : errata.src
343345

344346
#### Special section to build PS file and single plain text file
345347

346-
css2.ps ps: build/blocks.ok $(SPECOBJS) images/pngs.ok $(IMAGES)
348+
extras: css2.ps.gz css2.pdf css2.txt css2.zip css2.tgz
349+
350+
#css2.ps ps: build/blocks.ok $(SPECOBJS) images/pngs.ok $(IMAGES)
347351
# Because of memory limitations in html2ps, use the
348352
# automagic feature that any *.gif files are not
349353
# converted to ps if there's a *.ps file in the same
350354
# directory.
351-
-@(cd images; for i in *.idraw; do $(LN) -s $$i "`basename $$i .idraw`.ps"; done)
352-
$(HTML2PS) $(SPECOBJS) > $@
355+
# -@(cd images; for i in *.idraw; do $(LN) -s $$i "`basename $$i .idraw`.ps"; done)
356+
# $(HTML2PS) $(SPECOBJS) > $@
357+
358+
css2.ps: css2.pdf
359+
$(PDF2PS) $< $@
353360

354361
css2.ps.gz: css2.ps
355362
gzip <$< >$@
356363

357364
# This requires Acrobat Distiller or equivalent
358-
css2.pdf: css2.ps
359-
$(DISTILL) css2.ps
365+
#css2.pdf pdf: css2.ps
366+
# $(DISTILL) css2.ps
367+
368+
css2.pdf: css2.html
369+
$(HTML2PDF) $< $@
360370

361371
css2.html html: $(SPECOBJS)
362372
$(HTMLCAT) - $(SPECOBJS) | \

0 commit comments

Comments
 (0)