Fix *roff string usage nit
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
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
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) > $@
|
||||
@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
|
||||
|
||||
Reference in New Issue
Block a user