|
|
@ -15,11 +15,20 @@ DOCS-$(CONFIG_PERL) += $(MANPAGES) $(PODPAGES) |
|
|
|
DOCS-$(CONFIG_TEXI2HTML) += $(HTMLPAGES)
|
|
|
|
DOCS-$(CONFIG_TEXI2HTML) += $(HTMLPAGES)
|
|
|
|
DOCS = $(DOCS-yes)
|
|
|
|
DOCS = $(DOCS-yes)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DOC_EXAMPLES-$(CONFIG_OUTPUT_EXAMPLE) += output
|
|
|
|
|
|
|
|
ALL_DOC_EXAMPLES = output
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DOC_EXAMPLES := $(DOC_EXAMPLES-yes:%=doc/examples/%$(EXESUF))
|
|
|
|
|
|
|
|
ALL_DOC_EXAMPLES := $(ALL_DOC_EXAMPLES:%=doc/examples/%$(EXESUF))
|
|
|
|
|
|
|
|
PROGS += $(DOC_EXAMPLES)
|
|
|
|
|
|
|
|
|
|
|
|
all: $(DOCS) |
|
|
|
all: $(DOCS) |
|
|
|
|
|
|
|
|
|
|
|
apidoc: doc/doxy/html |
|
|
|
apidoc: doc/doxy/html |
|
|
|
documentation: $(DOCS) |
|
|
|
documentation: $(DOCS) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
examples: $(DOC_EXAMPLES) |
|
|
|
|
|
|
|
|
|
|
|
TEXIDEP = awk '/^@include/ { printf "$@: $(@D)/%s\n", $$2 }' <$< >$(@:%=%.d)
|
|
|
|
TEXIDEP = awk '/^@include/ { printf "$@: $(@D)/%s\n", $$2 }' <$< >$(@:%=%.d)
|
|
|
|
|
|
|
|
|
|
|
|
GENTEXI = format codec
|
|
|
|
GENTEXI = format codec
|
|
|
@ -44,6 +53,8 @@ doc/%.1: doc/%.pod $(GENTEXI) |
|
|
|
$(M)pod2man --section=1 --center=" " --release=" " $< > $@
|
|
|
|
$(M)pod2man --section=1 --center=" " --release=" " $< > $@
|
|
|
|
|
|
|
|
|
|
|
|
$(DOCS) doc/doxy/html: | doc/ |
|
|
|
$(DOCS) doc/doxy/html: | doc/ |
|
|
|
|
|
|
|
$(DOC_EXAMPLES:%=%.o): | doc/examples |
|
|
|
|
|
|
|
OBJDIRS += doc/examples
|
|
|
|
|
|
|
|
|
|
|
|
doc/doxy/html: $(SRC_PATH)/doc/Doxyfile $(INSTHEADERS) |
|
|
|
doc/doxy/html: $(SRC_PATH)/doc/Doxyfile $(INSTHEADERS) |
|
|
|
$(M)$(SRC_PATH)/doc/doxy-wrapper.sh $(SRC_PATH) $^
|
|
|
|
$(M)$(SRC_PATH)/doc/doxy-wrapper.sh $(SRC_PATH) $^
|
|
|
@ -68,7 +79,9 @@ uninstall-man: |
|
|
|
$(RM) $(addprefix "$(MANDIR)/man1/",$(ALLMANPAGES))
|
|
|
|
$(RM) $(addprefix "$(MANDIR)/man1/",$(ALLMANPAGES))
|
|
|
|
|
|
|
|
|
|
|
|
clean:: |
|
|
|
clean:: |
|
|
|
$(RM) doc/*.html doc/*.pod doc/*.1 $(CLEANSUFFIXES:%=doc/%) doc/avoptions_*.texi
|
|
|
|
$(RM) $(ALL_DOC_EXAMPLES)
|
|
|
|
|
|
|
|
$(RM) $(CLEANSUFFIXES:%=doc/%) $(CLEANSUFFIXES:%=doc/examples/%)
|
|
|
|
|
|
|
|
$(RM) doc/*.html doc/*.pod doc/*.1 doc/avoptions_*.texi
|
|
|
|
$(RM) -r doc/doxy/html
|
|
|
|
$(RM) -r doc/doxy/html
|
|
|
|
|
|
|
|
|
|
|
|
-include $(wildcard $(DOCS:%=%.d)) |
|
|
|
-include $(wildcard $(DOCS:%=%.d)) |
|
|
|