generate a pdf

This commit is contained in:
Michele Guerini Rocco 2019-05-15 18:12:14 +02:00
parent ebd5d43621
commit 7fe8e1ffe0
Signed by: rnhmjoj
GPG Key ID: 91BE884FBA4B591A
2 changed files with 4 additions and 0 deletions

1
example/.gitignore vendored
View File

@ -1,3 +1,4 @@
pagenums
MANIFEST
code.ps
code.pdf

View File

@ -7,6 +7,9 @@ MAKEMANIFEST = $(TOOLSDIR)/makemanifest
PSGEN = env BOOKROOT=$(BOOKROOT) $(TOOLSDIR)/psgen
INCLUDERES = (cd $(PSDIR); includeres)
code.pdf: code.ps
ps2pdf code.ps
code.ps pagenums: filelist footer.ps MANIFEST books
$(PSGEN) -P2 -l3 -DfooterFile=footer.ps filelist pagenums 1 \
| $(INCLUDERES) > code.ps