1 # aNetHack Makefile (VMS) - for the [Unix] documentation.
2 # aNetHack 0.0.1 Makefile.doc $ANH-Date: 1432512790 2015/05/25 00:13:10 $ $ANH-Branch: master $:$ANH-Revision: 1.8 $
4 # Copy this file to [.doc]Makefile. and edit it if needed.
6 GUIDEBOOK = Guidebook. # regular ASCII file
7 #GUIDEBOOK = Guidebook.ps # PostScript file
8 #GUIDEBOOK = Guidebook.dvi # TeX device-independent file
10 ALLDOCS = $(GUIDEBOOK)
11 #ALLDOCS = $(GUIDEBOOK) manpages
15 Guidebook : $(GUIDEBOOK)
19 #Guidebook. : Guidebook.mn
20 # #tbl tmac.n Guidebook.mn | nroff | col -bx > Guidebook
21 # write sys$output "Guidebook.mn cannot be processed under VMS."
22 Guidebook. : Guidebook.txt # distributed version of plain text
23 copy Guidebook.txt Guidebook.
25 # Fancier output for those with ditroff, psdit and a PostScript printer.
26 #Guidebook.ps : Guidebook.mn
27 # #tbl tmac.n Guidebook.mn | ditroff | psdit > Guidebook.ps
28 # write sys$output "Guidebook.mn cannot be processed under VMS."
29 Guidebook.ps : Guidebook.dvi # generated with LaTeX
32 # Guidebook.tex is the same as Guidebook.mn but formatted with LaTeX.
33 # - The invocation command for LaTeX may vary in different installations.
34 # - To print Guidebook.dvi you need to use a suitable dvi-driver.
35 # - LaTeX needs to be run twice; second pass uses Guidebook.aux made by first.
36 Guidebook.dvi : Guidebook.tex
46 #MANDIR = /usr/man/man6
49 # manual non-installation; raw man pages may be better than nothing
50 GAMEMANCREATE = copy anethack.6
51 LEVMANCREATE = copy lev_comp.6
52 DGNMANCREATE = copy dgn_comp.6
53 RCVRMANCREATE = copy recover.6
54 # GAMEMANCREATE = nroff -man anethack.6 >
55 # LEVMANCREATE = nroff -man lev_comp.6 >
56 # DGNMANCREATE = nroff -man dgn_comp.6 >
57 # RCVRMANCREATE = nroff -man recover.6 >
60 - $(GAMEMANCREATE) $(MANDIR)$(GAME).$(MANEXT)
61 - $(LEVMANCREATE) $(MANDIR)lev_comp.$(MANEXT)
62 - $(DGNMANCREATE) $(MANDIR)dgn_comp.$(MANEXT)
63 - $(RCVRMANCREATE) $(MANDIR)recover.$(MANEXT)
66 - if f$search("Guidebook.") .nes."" then delete Guidebook.;*
67 - if f$search("Guidebook.ps") .nes."" then delete Guidebook.ps;*
68 - if f$search("Guidebook.dvi").nes."" then delete Guidebook.dvi;*
69 - if f$search("Guidebook.aux").nes."" then delete Guidebook.aux;*
70 - if f$search("Guidebook.log").nes."" then delete Guidebook.log;*