1 # NetHack Makefile (VMS) - for the [Unix] documentation.
2 # SCCS Id: @(#)Makefile.doc 3.4 1993/01/06
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 > 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 Guidebook.dvi : Guidebook.tex
44 #MANDIR = /usr/man/man6
47 # manual non-installation; raw man pages may be better than nothing
48 GAMEMANCREATE = copy nethack.6
49 LEVMANCREATE = copy lev_comp.6
50 DGNMANCREATE = copy dgn_comp.6
51 RCVRMANCREATE = copy recover.6
52 # GAMEMANCREATE = nroff -man nethack.6 >
53 # LEVMANCREATE = nroff -man lev_comp.6 >
54 # DGNMANCREATE = nroff -man dgn_comp.6 >
55 # RCVRMANCREATE = nroff -man recover.6 >
58 - $(GAMEMANCREATE) $(MANDIR)$(GAME).$(MANEXT)
59 - $(LEVMANCREATE) $(MANDIR)lev_comp.$(MANEXT)
60 - $(DGNMANCREATE) $(MANDIR)dgn_comp.$(MANEXT)
61 - $(RCVRMANCREATE) $(MANDIR)recover.$(MANEXT)
64 - if f$search("Guidebook.") .nes."" then delete Guidebook.;*
65 - if f$search("Guidebook.ps") .nes."" then delete Guidebook.ps;*
66 - if f$search("Guidebook.dvi").nes."" then delete Guidebook.dvi;*
67 - if f$search("Guidebook.aux").nes."" then delete Guidebook.aux;*
68 - if f$search("Guidebook.log").nes."" then delete Guidebook.log;*