[FFmpeg-cvslog] build: Use order-only prerequisites for creating FATE reference file dirs.

Diego Biurrun git at videolan.org
Tue Jan 31 03:36:06 CET 2012


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Sun Jan 29 22:08:58 2012 +0100| [e9ba6b3704a3e119a819ccd4236ed9a7c1180b82] | committer: Diego Biurrun

build: Use order-only prerequisites for creating FATE reference file dirs.

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

 tests/Makefile |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/tests/Makefile b/tests/Makefile
index dba9e83..85665d9 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -5,20 +5,18 @@ REFS = $(AREF) $(VREF)
 $(VREF): avconv$(EXESUF) tests/vsynth1/00.pgm tests/vsynth2/00.pgm
 $(AREF): avconv$(EXESUF) tests/data/asynth1.sw
 
-tests/vsynth1/00.pgm: tests/videogen$(HOSTEXESUF)
-	@mkdir -p tests/vsynth1
+OBJDIRS += tests/data tests/vsynth1 tests/vsynth2
+
+tests/vsynth1/00.pgm: tests/videogen$(HOSTEXESUF) | tests/vsynth1
 	$(M)./$< 'tests/vsynth1/'
 
-tests/vsynth2/00.pgm: tests/rotozoom$(HOSTEXESUF)
-	@mkdir -p tests/vsynth2
+tests/vsynth2/00.pgm: tests/rotozoom$(HOSTEXESUF) | tests/vsynth2
 	$(M)./$< 'tests/vsynth2/' $(SRC_PATH)/tests/lena.pnm
 
-tests/data/asynth1.sw: tests/audiogen$(HOSTEXESUF)
-	@mkdir -p tests/data
+tests/data/asynth1.sw: tests/audiogen$(HOSTEXESUF) | tests/data
 	$(M)./$< $@
 
-tests/data/asynth-16000-1.sw: tests/audiogen$(HOSTEXESUF)
-	@mkdir -p tests/data
+tests/data/asynth-16000-1.sw: tests/audiogen$(HOSTEXESUF) | tests/data
 	$(M)./$< $@ 16000 1
 
 tests/data/asynth%.sw tests/vsynth%/00.pgm: TAG = GEN



More information about the ffmpeg-cvslog mailing list