generate a pdf
This commit is contained in:
parent
ebd5d43621
commit
7fe8e1ffe0
1
example/.gitignore
vendored
1
example/.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
pagenums
|
pagenums
|
||||||
MANIFEST
|
MANIFEST
|
||||||
code.ps
|
code.ps
|
||||||
|
code.pdf
|
||||||
|
@ -7,6 +7,9 @@ MAKEMANIFEST = $(TOOLSDIR)/makemanifest
|
|||||||
PSGEN = env BOOKROOT=$(BOOKROOT) $(TOOLSDIR)/psgen
|
PSGEN = env BOOKROOT=$(BOOKROOT) $(TOOLSDIR)/psgen
|
||||||
INCLUDERES = (cd $(PSDIR); includeres)
|
INCLUDERES = (cd $(PSDIR); includeres)
|
||||||
|
|
||||||
|
code.pdf: code.ps
|
||||||
|
ps2pdf code.ps
|
||||||
|
|
||||||
code.ps pagenums: filelist footer.ps MANIFEST books
|
code.ps pagenums: filelist footer.ps MANIFEST books
|
||||||
$(PSGEN) -P2 -l3 -DfooterFile=footer.ps filelist pagenums 1 \
|
$(PSGEN) -P2 -l3 -DfooterFile=footer.ps filelist pagenums 1 \
|
||||||
| $(INCLUDERES) > code.ps
|
| $(INCLUDERES) > code.ps
|
||||||
|
Loading…
Reference in New Issue
Block a user