aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNicolas Boos2004-07-05 18:06:16 +0000
committerMichael Niedermayer2004-07-05 18:06:16 +0000
commit146ea95228c34334247f1d100c6cd261e7866d13 (patch)
treee865013357b77b635be5160b6a46153141982438 /Makefile
parent4994af2fbd81eea61a797a0e77c3a69a641d7582 (diff)
autobuild doc if possible patch by (Nicolas Boos <nicolas.boos at wanadoo dot fr>)
Originally committed as revision 3288 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 277be416d1..420275eaf0 100644
--- a/Makefile
+++ b/Makefile
@@ -70,11 +70,15 @@ else
TEST=test
endif
+ifeq ($(BUILD_DOC),yes)
+DOC=documentation
+endif
+
OBJS = ffmpeg.o ffserver.o cmdutils.o ffplay.o
SRCS = $(OBJS:.o=.c) $(ASM_OBJS:.o=.s)
FFLIBS = -L./libavformat -lavformat -L./libavcodec -lavcodec
-all: lib $(PROG) $(PROGTEST) $(VHOOK) $(QTFASTSTART)
+all: lib $(PROG) $(PROGTEST) $(VHOOK) $(QTFASTSTART) $(DOC)
lib:
$(MAKE) -C libavcodec all
@@ -112,6 +116,9 @@ ffplay.o: ffplay.c
videohook: .libs
$(MAKE) -C vhook all
+documentation:
+ $(MAKE) -C doc all
+
.PHONY: install
install: all install-man $(INSTALLVHOOK)