aboutsummaryrefslogtreecommitdiffstats
path: root/doc/Makefile
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-03-27 22:42:41 +0100
committerMans Rullgard <mans@mansr.com>2012-03-28 11:42:19 +0100
commit2efb710a3432f1bab381ed66fbae42c7d638e2c9 (patch)
tree1c21ebbdd2c3456562bbc668b3f9673ac58ca0b0 /doc/Makefile
parenta92be9b856bd11b081041c43c25d442028fe9a63 (diff)
downloadffmpeg-2efb710a3432f1bab381ed66fbae42c7d638e2c9.tar.gz
build: fix doc generation errors in parallel builds
The $(dir) function used to construct OBJDIRS includes a trailing slash in the names returned, which GNU make 3.82 does not match to the slash-less 'doc' in the documentation dependencies, causing parallel build to fail. Adding a slash fixes this and still works with make 3.81. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/Makefile b/doc/Makefile
index ffb3c5ce4a..15e7323acc 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -40,7 +40,7 @@ doc/%.1: TAG = MAN
doc/%.1: doc/%.pod $(GENTEXI)
$(M)pod2man --section=1 --center=" " --release=" " $< > $@
-$(DOCS): | doc
+$(DOCS): | doc/
install-progs-$(CONFIG_DOC): install-man