aboutsummaryrefslogtreecommitdiffstats
path: root/doc/Makefile
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-12-17 13:39:53 +0100
committerStefano Sabatini <stefasab@gmail.com>2012-12-18 00:06:17 +0100
commit9bba683578006ca7a17cb929f16eef58b68a3e08 (patch)
tree927880515e45be5a35107a473cfa07fef310d85a /doc/Makefile
parentf14e248783f45a698947a2ed6e2c82069db46bc8 (diff)
downloadffmpeg-9bba683578006ca7a17cb929f16eef58b68a3e08.tar.gz
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.
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile
index e85e53b3da..b6ed791dc4 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