doc/Makefile: fix building examples if a program suffix is set

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-11-27 02:23:55 +01:00
parent 875f9aea3e
commit 5b326f398e

View File

@ -39,8 +39,8 @@ DOCS = $(DOCS-yes)
DOC_EXAMPLES-$(CONFIG_MUXING_EXAMPLE) += muxing
ALL_DOC_EXAMPLES = muxing
DOC_EXAMPLES := $(DOC_EXAMPLES-yes:%=doc/examples/%$(EXESUF))
ALL_DOC_EXAMPLES := $(ALL_DOC_EXAMPLES:%=doc/examples/%$(EXESUF))
DOC_EXAMPLES := $(DOC_EXAMPLES-yes:%=doc/examples/%$(PROGSSUF)$(EXESUF))
ALL_DOC_EXAMPLES := $(ALL_DOC_EXAMPLES:%=doc/examples/%$(PROGSSUF)$(EXESUF))
PROGS += $(DOC_EXAMPLES)
all-$(CONFIG_DOC): doc