2021-01-25 17:54:24 +01:00
|
|
|
all: execution.pdf execution.utf8 execution.ascii pp.pdf pp.utf8 pp.ascii\
|
2021-01-26 12:57:09 +01:00
|
|
|
branch.pdf blackbox.pdf ug.pdf
|
2020-11-04 12:56:35 +01:00
|
|
|
|
|
|
|
TTYOPT=-rPO=4m -rLL=72m
|
2020-11-09 12:09:22 +01:00
|
|
|
PDFOPT=-dpaper=a4 -rPO=4c -rLL=13c
|
2021-01-26 12:57:09 +01:00
|
|
|
#MMOPT=-dpaper=a4 -rpo=5c -rll=13c
|
2020-11-09 12:09:22 +01:00
|
|
|
PREPROC=-k -t -p -R
|
2021-01-26 12:57:09 +01:00
|
|
|
POSTPROC=
|
|
|
|
# Embed fonts?
|
|
|
|
#POSTPROC+=-P -e
|
2020-10-07 18:34:08 +02:00
|
|
|
|
2021-02-01 11:09:53 +01:00
|
|
|
blackbox.pdf: blackbox.ms Makefile
|
|
|
|
REFER=ref.i groff -ms $(PREPROC) -dpaper=a4 -rPO=2c -rLL=17c -Tpdf $< > $@
|
2021-01-25 20:02:25 +01:00
|
|
|
|
2021-01-26 12:57:09 +01:00
|
|
|
ug.pdf: ug.mm Makefile
|
|
|
|
groff -mm $(PREPROC) $(POSTPROC) -dpaper=a4 -Tpdf $< > $@
|
2021-02-01 11:09:53 +01:00
|
|
|
-killall -HUP mupdf
|
|
|
|
|
2020-11-09 12:09:22 +01:00
|
|
|
%.pdf: %.ms Makefile
|
|
|
|
REFER=ref.i groff -ms $(PREPROC) $(PDFOPT) -Tpdf $< > $@
|
2020-10-30 12:22:19 +01:00
|
|
|
-killall -HUP mupdf
|
2020-10-07 18:34:08 +02:00
|
|
|
|
2020-11-04 12:56:35 +01:00
|
|
|
%.utf8: %.ms
|
2020-11-09 12:09:22 +01:00
|
|
|
REFER=ref.i groff -ms $(PREPROC) $(TTYOPT) -Tutf8 $^ > $@
|
2020-11-04 12:56:35 +01:00
|
|
|
|
|
|
|
%.ascii: %.ms
|
2020-11-09 12:09:22 +01:00
|
|
|
REFER=ref.i groff -ms -c $(PREPROC) $(TTYOPT) -Tascii $^ > $@
|