[FFmpeg-cvslog] build: fix examples compilation when EXESUF is not empty

Christophe Gisquet git at videolan.org
Mon Feb 10 14:31:38 CET 2014


ffmpeg | branch: master | Christophe Gisquet <christophe.gisquet at gmail.com> | Mon Feb 10 00:23:28 2014 +0100| [682b2a809b446c4ca45f88a84c1d92ccfcbcfbd1] | committer: Janne Grunau

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 at jannau.net>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=682b2a809b446c4ca45f88a84c1d92ccfcbcfbd1
---

 doc/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/Makefile b/doc/Makefile
index 4228c54..e92e72f 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



More information about the ffmpeg-cvslog mailing list