tmac.gnu: .kern and .dei requests
[neatroff_make.git] / demo / Makefile
blob42b1c859d4a0e3031ac18b49279d65e21bb9d0a1
1 # Neatroff demonstration directory
2 BASE = $(PWD)/..
3 ROFF = $(BASE)/neatroff/roff
4 POST = $(BASE)/neatpost/post
5 EQN = $(BASE)/neateqn/eqn
6 REFR = $(BASE)/neatrefer/refer
7 PIC = $(BASE)/troff/pic/pic
8 TBL = $(BASE)/troff/tbl/tbl
9 SOIN = $(BASE)/soin/soin
11 ROFFOPTS = -mps -mpost -mtbl -mkeep -men -msrefs
12 POSTOPTS = -pa4
13 REFROPTS = -m -e -o ct -p ref.bib
15 all: test.pdf neatroff.pdf neateqn.pdf neatstart.pdf neatcc.pdf
17 %.ps: %.tr
18 @echo "Generating $@"
19 @cat $< | $(PIC) | $(TBL) | $(EQN) | $(ROFF) | $(POST) $(POSTOPTS) >$@
21 %.ps: %.ms
22 @echo "Generating $@"
23 @cat $< | $(SOIN) | \
24 $(REFR) $(REFROPTS) | $(PIC) | $(TBL) | $(EQN) | \
25 $(ROFF) $(ROFFOPTS) | $(POST) $(POSTOPTS) >$@
27 %.pdf: %.ps
28 @echo "Generating $@"
29 @ps2pdf -dPDFSETTINGS=/prepress -dEmbedAllFonts=true \
30 -sFONTPATH=$(BASE)/fonts/ -sFONTMAP=$(BASE)/fonts/Fontmap $< $@
32 clean:
33 rm -f *.ps *.pdf