latex Guidebook [1 of 2] (trunk only)

Last fall when Michael added the symset stuff to supersede the old
handling for IBMgraphics and DECgraphics, Guidebook.tex was changed to
support multi-page tables in the output.  But that requires that the
input be processed twice, because it requires feedback stored in
Guidebook.aux and the first pass can't rely on that file being present
or up to date.  This updates the Unix, VMS, and OS/2 makefiles to do
two-pass processing.  (I didn't see latex usage anywhere else, and the
branch version doesn't include the formatting change which needs this.)
This commit is contained in:
nethack.rankin
2007-05-26 02:35:50 +00:00
parent 8cada647d3
commit df053999a9
3 changed files with 11 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
# SCCS Id: @(#)Makefile.os2 3.5 2006/01/07
# SCCS Id: @(#)Makefile.os2 3.5 2007/05/25
# OS/2 NetHack 3.5 Makefile for OS/2 versions 1.x and 2.x
# Copyright (C) 1990, 1991, 1992, 1993, 1996 Timo Hakulinen
#
@@ -1458,8 +1458,12 @@ $(GAMEDIR)\nethack.cnf :
#
# Documentation.
#
# LaTeX needs to be run twice.
# The second pass uses the $(GUIDEBOO).aux file made by the first.
#
$(TEMP)\$(GUIDEBOO).dvi : $(DOC)\$(GUIDEBOO).tex
$(LATEX) $(DOC)\$(GUIDEBOO).tex
$(LATEX) $(DOC)\$(GUIDEBOO).tex
$(CP) $(GUIDEBOO).dvi $(TEMP)
$(CP) $(GUIDEBOO).aux $(TEMP)

View File

@@ -1,5 +1,5 @@
# NetHack Makefile.
# SCCS Id: @(#)Makefile.doc 3.5 1996/03/23
# SCCS Id: @(#)Makefile.doc 3.5 2007/05/25
# for Atari
# SHELL=E:/GEMINI2/MUPFEL.TTP
@@ -36,8 +36,10 @@ Guidebook.ps: Guidebook.mn
# Guidebook.tex is the same as Guidebook.mn but formatted with LaTeX.
# - The invocation command for LaTeX may vary in different installations.
# - To print Guidebook.dvi you need to use a suitable dvi-driver.
# - LaTeX needs to be run twice; second pass uses Guidebook.aux made by first.
Guidebook.dvi: Guidebook.tex
latex Guidebook.tex
latex Guidebook.tex
GAME = nethack

View File

@@ -1,5 +1,5 @@
# NetHack Makefile (VMS) - for the [Unix] documentation.
# SCCS Id: @(#)Makefile.doc 3.5 1993/01/06
# SCCS Id: @(#)Makefile.doc 3.5 2007/05/25
# Copy this file to [.doc]Makefile. and edit it if needed.
@@ -32,8 +32,10 @@ Guidebook.ps : Guidebook.dvi # generated with LaTeX
# Guidebook.tex is the same as Guidebook.mn but formatted with LaTeX.
# - The invocation command for LaTeX may vary in different installations.
# - To print Guidebook.dvi you need to use a suitable dvi-driver.
# - LaTeX needs to be run twice; second pass uses Guidebook.aux made by first.
Guidebook.dvi : Guidebook.tex
latex Guidebook.tex
latex Guidebook.tex
all : $(ALLDOCS)
$(NOOP)