]> git.sesse.net Git - ffmpeg/blobdiff - Makefile
Fix compilation on PPC 470.
[ffmpeg] / Makefile
index e5e4a87423db1ab0ef9103dc0f205212c99532eb..2d37c0a440f7f0e011c8881da2640c3bc4279844 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -93,7 +93,7 @@ SVN_ENTRIES = $(SRC_PATH_BARE)/.svn/entries
 .version: M=@
 
 version.h .version:
-       $(M)$(VERSION_SH) $(SRC_PATH) $@ $(EXTRA_VERSION)
+       $(M)$(VERSION_SH) $(SRC_PATH) version.h $(EXTRA_VERSION)
        $(Q)touch .version
 
 # force version.sh to run whenever version might have changed
@@ -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