Merge pull request #248 from davidgiven/llgen
Add HTML documentation to the LLgen build.
This commit is contained in:
commit
1fb1016349
|
@ -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