OSDN Git Service

Makefile: build docs only for enabled tools; fix docs dependencies
authorMans Rullgard <mans@mansr.com>
Tue, 1 Feb 2011 02:23:30 +0000 (02:23 +0000)
committerMans Rullgard <mans@mansr.com>
Tue, 1 Feb 2011 12:33:09 +0000 (12:33 +0000)
This makes "make documentation" build the man/html pages only for
the tools enabled in the build.  It also fixes the dependency
tracking for the built man pages.

Signed-off-by: Mans Rullgard <mans@mansr.com>
Makefile

index fb9d8a4..a2d90ca 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -112,7 +112,7 @@ version.h .version:
 
 alltools: $(TOOLS)
 
-DOCS = $(addprefix doc/, developer.html faq.html general.html libavfilter.html $(ALLHTMLPAGES) $(ALLMANPAGES))
+DOCS = $(addprefix doc/, developer.html faq.html general.html libavfilter.html) $(HTMLPAGES) $(MANPAGES) $(PODPAGES)
 
 documentation: $(DOCS)