Merge pull request #248 from davidgiven/llgen

Add HTML documentation to the LLgen build.
This commit is contained in:
David Given 2023-01-08 21:32:29 +01:00 committed by GitHub
commit 1fb1016349
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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