[FFmpeg-devel] [PATCH] doc/Makefile: add docclean rule

Stefano Sabatini stefasab at gmail.com
Mon Dec 17 13:41:45 CET 2012

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 path specified in doc/Makefile are relative
to the parent dir.

Also it is consitent with "testclean" and "distclean" targets.
 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
 	$(RM) $(addprefix "$(MANDIR)/man1/",$(ALLMANPAGES))
+docclean: 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-devel mailing list