From 4c03865d1eb01ee1f4a7f8f917d0ce37b353f61a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Fri, 19 Jan 2018 19:26:40 +0100 Subject: build: clean generated documentation 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 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/Makefile.am b/doc/Makefile.am index b96acc1..b6b6f3e 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -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 -- cgit v1.2.1