Fix the groff build to put the images in the right place.
This commit is contained in:
parent
f7de764a86
commit
01d978cc22
|
@ -42,11 +42,11 @@ $(OBJDIR)/%.o: %.c
|
||||||
|
|
||||||
$(OBJDIR)/%.pdf: doc/%.n doc/LLgen.refs
|
$(OBJDIR)/%.pdf: doc/%.n doc/LLgen.refs
|
||||||
@mkdir -p $(dir $@)
|
@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
|
$(OBJDIR)/%/index.html: doc/%.n doc/LLgen.refs
|
||||||
@mkdir -p $(dir $@)
|
@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)
|
doc:: $(PDFS) $(HTMLS)
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
\}\
|
\}\
|
||||||
\}
|
\}
|
||||||
.R1
|
.R1
|
||||||
database doc/LLgen.refs
|
|
||||||
accumulate
|
accumulate
|
||||||
.R2
|
.R2
|
||||||
.ND
|
.ND
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
.RP
|
|
||||||
.TL
|
.TL
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue