diff --git a/garlic/doc/Makefile b/garlic/doc/Makefile index 3c60011..a6270bb 100644 --- a/garlic/doc/Makefile +++ b/garlic/doc/Makefile @@ -1,14 +1,15 @@ -all: execution.pdf execution.ascii pp.pdf pp.ascii +all: execution.pdf execution.utf8 execution.ascii pp.pdf pp.utf8 pp.ascii TTYOPT=-rPO=4m -rLL=72m -#TTYOPT=-dpaper=a0 -rPO=4m -rLL=72m +PDFOPT=-dpaper=a4 -rPO=4c -rLL=13c +PREPROC=-k -t -p -R -%.pdf: %.ms - REFER=ref.i groff -ms -dpaper=a4 -k -t -p -R -Tpdf $^ > $@ +%.pdf: %.ms Makefile + REFER=ref.i groff -ms $(PREPROC) $(PDFOPT) -Tpdf $< > $@ -killall -HUP mupdf %.utf8: %.ms - REFER=ref.i groff -ms -t -p -R $(TTYOPT) -Tutf8 $^ > $@ + REFER=ref.i groff -ms $(PREPROC) $(TTYOPT) -Tutf8 $^ > $@ %.ascii: %.ms - REFER=ref.i groff -ms -t -p -R $(TTYOPT) -Tascii $^ > $@ + REFER=ref.i groff -ms -c $(PREPROC) $(TTYOPT) -Tascii $^ > $@