String definitions were being used with a pointless leading double quote. This syntax is used only to define strings containing leading space characters. (You might also use it defensively if you're defining one string whose contents start with the interpolation of another, and the latter might interpolate leading space--but that is not the case here.) Remove unnecessary leading quotes from string definitions. * doc/Guidebook.mn: Do it. Also annotate empty strings with comment. * sys/unix/hints/include/gbdates-post.370: Don't put them back. https://www.gnu.org/software/groff/manual/groff.html.node/Strings.html
15 lines
663 B
Plaintext
Executable File
15 lines
663 B
Plaintext
Executable File
# NetHack 3.7 gbdates-post.370 $NHDT-Date: 1599687610 2020/09/09 21:40:10 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.11 $
|
|
ifdef MAKEFILE_DOC
|
|
ifdef GB_DATESTAMP
|
|
Guidebook.dated.mn: $(GUIDEBOOK_MN_SRC)
|
|
@awk 'f{$$0=".ds f2 $(GB_DATESTAMP)";f=0}/NH_DATESUB/{f=1} 1' < $(GUIDEBOOK_MN_SRC) > $@
|
|
Guidebook.dated.tex: $(GUIDEBOOK_TEX_SRC)
|
|
@awk 'f{$$0="\\date{$(GB_DATESTAMP)}";f=0}/NH_DATESUB/{f=1} 1' < $(GUIDEBOOK_TEX_SRC) > $@
|
|
endif # GB_DATESTAMP
|
|
|
|
Guidebook.pdf: Guidebook.dated.tex
|
|
pdflatex -interaction=nonstopmode -jobname=Guidebook Guidebook.dated.tex
|
|
pdflatex -interaction=nonstopmode -jobname=Guidebook Guidebook.dated.tex
|
|
endif # MAKEFILE_DOC
|
|
#
|