Makefile: standalone setup
[neatroff_make.git] / demo / Makefile
blobc316004e04bd1081cc0710228ac3a82a29ae8beb
1 # Neatroff demonstration directory
2 BASE = $(PWD)/..
3 ROFF = $(BASE)/neatroff/roff
4 POST = $(BASE)/neatpost/post
5 EQN = $(BASE)/neateqn/eqn
6 REFER = $(BASE)/neatrefer/refer
7 PIC = $(BASE)/troff/pic/pic
8 TBL = $(BASE)/troff/tbl/tbl
10 all: test.pdf
12 %.ps: %.ms
13 cat $< | $(PIC) | $(TBL) | $(EQN) | $(ROFF) | $(POST) -pa4 >$@
15 %.pdf: %.ps
16 ps2pdf -sFONTPATH=$(BASE)/fonts/ $< $@
18 clean:
19 rm -f *.ps *.pdf