home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / nethack-3.1 / sys / unix / Makefile.doc < prev    next >
Encoding:
Makefile  |  1993-01-11  |  1.4 KB  |  47 lines

  1. #    NetHack Makefile.
  2. #    SCCS Id: @(#)Makefile.doc    3.1    90/05/28
  3.  
  4. GUIDEBOOK = Guidebook        # regular ASCII file
  5. #GUIDEBOOK = Guidebook.ps    # PostScript file
  6. #GUIDEBOOK = Guidebook.dvi    # TeX device-independent file
  7.  
  8. # the basic guidebook
  9. Guidebook:    Guidebook.mn
  10.     tbl tmac.n Guidebook.mn | nroff | col > Guidebook
  11.  
  12. # Fancier output for those with ditroff, psdit and a PostScript printer.
  13. Guidebook.ps:    Guidebook.mn
  14.     tbl tmac.n Guidebook.mn | ditroff | psdit > Guidebook.ps
  15.  
  16. # Guidebook.tex is the same as Guidebook.mn but formatted with LaTeX.
  17. # - The invocation command for LaTeX may vary in different installations.
  18. # - To print Guidebook.dvi you need to use a suitable dvi-driver.
  19. Guidebook.dvi:    Guidebook.tex
  20.     latex Guidebook.tex
  21.  
  22.  
  23. GAME    = nethack
  24. MANDIR    = /usr/man/man6
  25. MANEXT    = 6
  26.  
  27. # manual installation for most BSD-style systems
  28. GAMEMANCREATE = cp nethack.6
  29. LEVMANCREATE = cp lev_comp.6
  30. DGNMANCREATE = cp dgn_comp.6
  31. RCVRMANCREATE = cp recover.6
  32. # manual installation for most SYSV-style systems
  33. # GAMEMANCREATE = nroff -man nethack.6 >
  34. # LEVMANCREATE = nroff -man lev_comp.6 >
  35. # DGNMANCREATE = nroff -man dgn_comp.6 >
  36. # RCVRMANCREATE = nroff -man recover.6 >
  37.  
  38. manpages:
  39.     -$(GAMEMANCREATE) $(MANDIR)/$(GAME).$(MANEXT)
  40.     -$(LEVMANCREATE) $(MANDIR)/lev_comp.$(MANEXT)
  41.     -$(DGNMANCREATE) $(MANDIR)/dgn_comp.$(MANEXT)
  42.     -$(RCVRMANCREATE) $(MANDIR)/recover.$(MANEXT)
  43.  
  44.  
  45. spotless:
  46.     -rm -f Guidebook Guidebook.ps Guidebook.dvi Guidebook.aux Guidebook.log
  47.