]> git.sesse.net Git - ffmpeg/blobdiff - Makefile
Fix compilation on PPC 470.
[ffmpeg] / Makefile
index 6507d9344d7071fc38056fb5b4d90f6e273c7763..2d37c0a440f7f0e011c8881da2640c3bc4279844 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -105,15 +105,15 @@ documentation: $(addprefix doc/, developer.html faq.html ffmpeg-doc.html \
                                  ffplay-doc.html ffprobe-doc.html ffserver-doc.html \
                                  general.html libavfilter.html $(ALLMANPAGES))
 
-doc/%.html: MSG = HTML
+doc/%.html: TAG = HTML
 doc/%.html: doc/%.texi
        $(M)cd doc && texi2html -monolithic -number $(<:doc/%=%)
 
-doc/%.pod: MSG = POD
+doc/%.pod: TAG = POD
 doc/%.pod: doc/%-doc.texi
        $(M)doc/texi2pod.pl $< $@
 
-doc/%.1: MSG = MAN
+doc/%.1: TAG = MAN
 doc/%.1: doc/%.pod
        $(M)pod2man --section=1 --center=" " --release=" " $< > $@
 
@@ -330,5 +330,15 @@ tests/data/asynth1.sw: tests/audiogen$(HOSTEXESUF)
 tests/seek_test$(EXESUF): tests/seek_test.o $(FF_DEP_LIBS)
        $(LD) $(FF_LDFLAGS) -o $@ $< $(FF_EXTRALIBS)
 
+ifdef SAMPLES
+include $(SRC_PATH_BARE)/tests/fate.mak
+fate: $(FATE_TESTS)
+$(FATE_TESTS):
+       @echo "TEST FATE   $(@:fate-%=%)"
+       @$(SRC_PATH)/tests/fate-run.sh $@ "$(SAMPLES)" "$(TARGET_EXEC)" "$(TARGET_PATH)" '$(CMD)'
+else
+fate:
+       @echo "SAMPLES not specified, cannot run FATE"
+endif
 
 .PHONY: documentation *test regtest-* zlib-error alltools check config