[FFmpeg-cvslog] examples/Makefile: apply misc minor fixes to the RM rule

Stefano Sabatini git at videolan.org
Mon Aug 27 10:10:56 CEST 2012


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Mon Aug 27 10:00:03 2012 +0200| [3b0e2763f42d8a2278d7f96da6ca759f67400341] | committer: Stefano Sabatini

examples/Makefile: apply misc minor fixes to the RM rule

Use $(RM) in place of rm, drop useless "-r" for removing files.

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

 doc/examples/Makefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/examples/Makefile b/doc/examples/Makefile
index c630b2a..5ef0f7b 100644
--- a/doc/examples/Makefile
+++ b/doc/examples/Makefile
@@ -28,7 +28,7 @@ muxing:            LDLIBS += -lm
 all: $(OBJS) $(EXAMPLES)
 
 clean-test:
-	rm -rf test*.pgm test.h264 test.mp2 test.sw test.mpg
+	$(RM) -f test*.pgm test.h264 test.mp2 test.sw test.mpg
 
 clean: clean-test
-	rm -rf $(EXAMPLES) $(OBJS)
+	$(RM) -f $(EXAMPLES) $(OBJS)



More information about the ffmpeg-cvslog mailing list