Fix the groff build to put the images in the right place.

This commit is contained in:
David Given 2022-02-05 22:48:14 +01:00
parent f7de764a86
commit 01d978cc22
3 changed files with 2 additions and 4 deletions

View file

@ -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)

View file

@ -10,7 +10,6 @@
\}\
\}
.R1
database doc/LLgen.refs
accumulate
.R2
.ND

View file

@ -1,4 +1,3 @@
.RP
.TL