Makefile: build docs only for enabled tools; fix docs dependencies
[ffmpeg.git] / 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)