[FFmpeg-cvslog] doc/Makefile: change DOCLIBS check

Stefano Sabatini git at videolan.org
Wed Nov 7 23:22:34 CET 2012


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Wed Nov  7 23:11:02 2012 +0100| [58d1d7024d6dfa3f8cff8d809abdf346534bdaac] | committer: Stefano Sabatini

doc/Makefile: change DOCLIBS check

More consistent with the rest of the build system, and more compact.

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

 doc/Makefile |   10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/doc/Makefile b/doc/Makefile
index 9fa8382..05d016f 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -1,10 +1,8 @@
-ifeq ($(CONFIG_AVCODEC),yes)
-DOCLIBS += libavcodec
-endif
+DOCLIBS-$(CONFIG_AVCODEC) += libavcodec
 
-MANPAGES    = $(PROGS-yes:%=doc/%.1)    $(DOCLIBS:%=doc/%.3)
-PODPAGES    = $(PROGS-yes:%=doc/%.pod)  $(DOCLIBS:%=doc/%.pod)
-HTMLPAGES   = $(PROGS-yes:%=doc/%.html) $(DOCLIBS:%=doc/%.html)         \
+MANPAGES    = $(PROGS-yes:%=doc/%.1)    $(DOCLIBS-yes:%=doc/%.3)
+PODPAGES    = $(PROGS-yes:%=doc/%.pod)  $(DOCLIBS-yes:%=doc/%.pod)
+HTMLPAGES   = $(PROGS-yes:%=doc/%.html) $(DOCLIBS-yes:%=doc/%.html)     \
               doc/developer.html                                        \
               doc/faq.html                                              \
               doc/fate.html                                             \



More information about the ffmpeg-cvslog mailing list