From 1eda19cff85f2e274305cd0f9f239b564a022ced Mon Sep 17 00:00:00 2001 From: Michael Shigorin Date: Tue, 12 Aug 2014 13:13:36 +0400 Subject: [PATCH] doc: better clean target A bunch of intermediate files would be sitting around otherwise. --- doc/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/Makefile b/doc/Makefile index e69e7851..d518c8f9 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -30,6 +30,9 @@ HTML_ARGS = -a data-uri --icons -r $(RESOURCE_FILES) -r . \ # most convenient deliverables DOCS_OUT = $(PROJECT).pdf $(PROJECT).html docbook-xsl.css +# intermediate files +DOCS_TMP = $(PROJECT).fo $(PROJECT).xml + .PHONY: all prep chunked xhtml pdf clean all: chunked xhtml pdf @@ -58,4 +61,4 @@ pdf: prep clean: @echo "** cleaning up" @if [ -d "$(BUILDDIR)" ]; then cd "$(BUILDDIR)"; fi; \ - rm -rf $(DOCS_OUT) $(PROJECT).chunked/ + rm -rf $(DOCS_OUT) $(DOCS_TMP) $(PROJECT).chunked/ .fop.xconf