diff --git a/util/LLgen/Makefile b/util/LLgen/Makefile index e3f39deed..89250c276 100644 --- a/util/LLgen/Makefile +++ b/util/LLgen/Makefile @@ -42,11 +42,11 @@ $(OBJDIR)/%.o: %.c $(OBJDIR)/%.pdf: doc/%.n doc/LLgen.refs @mkdir -p $(dir $@) - refer $< | groff -G -e -g -p -ms -Tpdf $< > $@ + refer -p doc/LLgen.refs $< | groff -G -e -g -p -ms -Tpdf $< > $@ $(OBJDIR)/%/index.html: doc/%.n doc/LLgen.refs @mkdir -p $(dir $@) - refer $< | (cd $(dir $@) && groff -I$(PWD) -G -e -g -p -ms -Thtml) > $@ + (cd $(dir $@) && refer -p $(PWD)/doc/LLgen.refs | groff -G -e -g -p -ms -Thtml) < $< > $@ doc:: $(PDFS) $(HTMLS) diff --git a/util/LLgen/doc/LLgen.n b/util/LLgen/doc/LLgen.n index 2cd6bf992..2120aa685 100644 --- a/util/LLgen/doc/LLgen.n +++ b/util/LLgen/doc/LLgen.n @@ -10,7 +10,6 @@ \}\ \} .R1 -database doc/LLgen.refs accumulate .R2 .ND diff --git a/util/LLgen/doc/LLgen_NCER.n b/util/LLgen/doc/LLgen_NCER.n index 3693a1525..2275ddd3d 100644 --- a/util/LLgen/doc/LLgen_NCER.n +++ b/util/LLgen/doc/LLgen_NCER.n @@ -1,4 +1,3 @@ -.RP .TL