[FFmpeg-cvslog] doc/Makefile: add docclean rule

Stefano Sabatini git at videolan.org
Tue Dec 18 00:07:40 CET 2012


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Mon Dec 17 13:39:53 2012 +0100| [9bba683578006ca7a17cb929f16eef58b68a3e08] | committer: Stefano Sabatini

doc/Makefile: add docclean rule

This allows to clean the doc directory from the parent project dir.
The command:
make -C doc clean

does not work as long as the paths specified in doc/Makefile are relative
to the parent dir.

Also it is consitent with "testclean" and "distclean" targets.

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

 doc/Makefile |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/doc/Makefile b/doc/Makefile
index e85e53b..b6ed791 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -93,6 +93,8 @@ uninstall: uninstall-man
 uninstall-man:
 	$(RM) $(addprefix "$(MANDIR)/man1/",$(ALLMANPAGES))
 
+docclean: clean
+
 clean::
 	$(RM) $(TXTPAGES) doc/*.html doc/*.pod doc/*.1 doc/*.3 $(CLEANSUFFIXES:%=doc/%) doc/avoptions_*.texi
 	$(RM) -r doc/doxy/html



More information about the ffmpeg-cvslog mailing list