OSDN Git Service

build: clean generated documentation
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Fri, 19 Jan 2018 18:26:40 +0000 (19:26 +0100)
committerXiang, Haihao <haihao.xiang@intel.com>
Thu, 1 Feb 2018 01:24:11 +0000 (09:24 +0800)
Add to the clean target the removal of the generated documentation.

Also use $(RM) for calling the command rm, which is a bit more
portable.

doc/Makefile.am

index b96acc1..b6b6f3e 100644 (file)
@@ -74,7 +74,10 @@ install-html-local:
        done
 
 uninstall-local:
-       rm -rf $(DESTDIR)$(docdir)/html
+       $(RM) -rf $(DESTDIR)$(docdir)/html
+
+clean-local:
+       $(RM) -rf html-out latex
 
 # Extra clean files so that maintainer-clean removes *everything*
 MAINTAINERCLEANFILES = Makefile.in Doxyfile