summaryrefslogtreecommitdiff
path: root/doc/Makefile
diff options
context:
space:
mode:
authorChristophe Gisquet <christophe.gisquet@gmail.com>2014-02-10 00:23:28 +0100
committerJanne Grunau <janne-libav@jannau.net>2014-02-10 13:23:21 +0100
commit682b2a809b446c4ca45f88a84c1d92ccfcbcfbd1 (patch)
treeff89d3a11a6b78098beb649e34e57df8a2e1b03a /doc/Makefile
parent18c896be3d8e926ef806e7de29c4a168d7763389 (diff)
build: fix examples compilation when EXESUF is not empty
Due to a wrong substitution doc/examples is not added as a prerequisite for the objects of the example programs. This results in compiler error due to the non-existing output directory. Bug-Id: 636 Signed-off-by: Janne Grunau <janne-libav@jannau.net>
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 4228c54017..e92e72f35a 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -54,7 +54,7 @@ doc/%.1: doc/%.pod $(GENTEXI)
$(M)pod2man --section=1 --center=" " --release=" " $< > $@
$(DOCS) doc/doxy/html: | doc/
-$(DOC_EXAMPLES:%=%.o): | doc/examples
+$(DOC_EXAMPLES:%$(EXESUF)=%.o): | doc/examples
OBJDIRS += doc/examples
DOXY_TEMPLATES = doxy_stylesheet.css footer.html header.html