From f187557ab4612776f7f527ecf3d40062975c3e4c Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 21 Nov 2013 16:57:56 -0800 Subject: build: more fine-grained dependencies for documentation build tools Perl is needed to build the manual pages, texi2html for the HTML pages. --- doc/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'doc/Makefile') diff --git a/doc/Makefile b/doc/Makefile index 81f098e0b3..b76772bc2d 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -10,9 +10,11 @@ HTMLPAGES = $(PROGS-yes:%=doc/%.html) \ doc/nut.html \ doc/platform.html \ -DOCS = $(HTMLPAGES) $(MANPAGES) $(PODPAGES) +DOCS-$(CONFIG_PERL) += $(MANPAGES) $(PODPAGES) +DOCS-$(CONFIG_TEXI2HTML) += $(HTMLPAGES) +DOCS = $(DOCS-yes) -all-$(CONFIG_DOC): documentation +all: $(DOCS) apidoc: doc/doxy/html documentation: $(DOCS) @@ -45,7 +47,8 @@ $(DOCS) doc/doxy/html: | doc/ doc/doxy/html: $(SRC_PATH)/doc/Doxyfile $(INSTHEADERS) $(M)$(SRC_PATH)/doc/doxy-wrapper.sh $(SRC_PATH) $^ -install-progs-$(CONFIG_DOC): install-doc install-man +install-progs-$(CONFIG_PERL): install-man +install-progs-$(CONFIG_TEXI2HTML): install-doc install-doc: $(HTMLPAGES) $(Q)mkdir -p "$(DOCDIR)" -- cgit v1.2.3