X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fdocs.mk;h=050df97dfd9b96e92292bf321d47cf985a5e572d;hb=8016cce44755d3b37ce66e0fd8bec560b3c71178;hp=773c832239703addc9b7f604eaa98ac1e0f40d1b;hpb=2a37089ad109efd4c5fd8d1b4c32f60b8fc82978;p=i3%2Fi3 diff --git a/docs/docs.mk b/docs/docs.mk index 773c8322..050df97d 100644 --- a/docs/docs.mk +++ b/docs/docs.mk @@ -2,10 +2,10 @@ DISTCLEAN_TARGETS += clean-docs # To pass additional parameters for asciidoc ASCIIDOC = asciidoc +I3POD2HTML = ./docs/i3-pod2html ASCIIDOC_NOTOC_TARGETS = \ - docs/debugging.html \ - docs/debugging-release-version.html + docs/debugging.html ASCIIDOC_TOC_TARGETS = \ docs/hacking-howto.html \ @@ -14,7 +14,8 @@ ASCIIDOC_TOC_TARGETS = \ docs/multi-monitor.html \ docs/wsbar.html \ docs/testsuite.html \ - docs/i3bar-protocol.html + docs/i3bar-protocol.html \ + docs/layout-saving.html ASCIIDOC_TARGETS = \ $(ASCIIDOC_TOC_TARGETS) \ @@ -23,7 +24,17 @@ ASCIIDOC_TARGETS = \ ASCIIDOC_CALL = $(V_ASCIIDOC)$(ASCIIDOC) -n $(ASCIIDOC_FLAGS) -o $@ $< ASCIIDOC_TOC_CALL = $(V_ASCIIDOC)$(ASCIIDOC) -a toc -n $(ASCIIDOC_FLAGS) -o $@ $< -docs: $(ASCIIDOC_TARGETS) +POD2HTML_TARGETS = \ + docs/lib-i3test.html \ + docs/lib-i3test-test.html + +docs/lib-i3test.html: testcases/lib/i3test.pm + $(V_POD2HTML)$(I3POD2HTML) $< $@ + +docs/lib-i3test-test.html: testcases/lib/i3test/Test.pm + $(V_POD2HTML)$(I3POD2HTML) $< $@ + +docs: $(ASCIIDOC_TARGETS) $(POD2HTML_TARGETS) $(ASCIIDOC_TOC_TARGETS): docs/%.html: docs/% $(ASCIIDOC_TOC_CALL) @@ -32,4 +43,4 @@ $(ASCIIDOC_NOTOC_TARGETS): docs/%.html: docs/% $(ASCIIDOC_CALL) clean-docs: - rm -f $(ASCIIDOC_TARGETS) + rm -f $(ASCIIDOC_TARGETS) $(POD2HTML_TARGETS)