From e3d34100e73c256e250534d64eb5f07daf3d0fef Mon Sep 17 00:00:00 2001
From: James Almer <jamrial@gmail.com>
Date: Fri, 6 Sep 2013 01:10:48 -0300
Subject: [PATCH] doc: add *install-doc that covers all documentation

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
---
 doc/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/doc/Makefile b/doc/Makefile
index 5671050e470..74158997519 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -88,6 +88,8 @@ $(DOCS) doc/doxy/html: | doc/
 doc/doxy/html: $(SRC_PATH)/doc/Doxyfile $(INSTHEADERS)
 	$(M)$(SRC_PATH)/doc/doxy-wrapper.sh $(SRC_PATH) $^
 
+install-doc: install-html install-man
+
 install-html:
 
 install-man:
@@ -110,7 +112,9 @@ install-man: $(MANPAGES)
 	$(INSTALL) -m 644 $(MANPAGES3) "$(MANDIR)/man3"
 endif
 
-uninstall: uninstall-html uninstall-man
+uninstall: uninstall-doc
+
+uninstall-doc: uninstall-html uninstall-man
 
 uninstall-html:
 	$(RM) -r "$(DOCDIR)"
-- 
GitLab