doc: better clean target
A bunch of intermediate files would be sitting around otherwise.
This commit is contained in:
parent
24cee06517
commit
1eda19cff8
@ -30,6 +30,9 @@ HTML_ARGS = -a data-uri --icons -r $(RESOURCE_FILES) -r . \
|
|||||||
# most convenient deliverables
|
# most convenient deliverables
|
||||||
DOCS_OUT = $(PROJECT).pdf $(PROJECT).html docbook-xsl.css
|
DOCS_OUT = $(PROJECT).pdf $(PROJECT).html docbook-xsl.css
|
||||||
|
|
||||||
|
# intermediate files
|
||||||
|
DOCS_TMP = $(PROJECT).fo $(PROJECT).xml
|
||||||
|
|
||||||
.PHONY: all prep chunked xhtml pdf clean
|
.PHONY: all prep chunked xhtml pdf clean
|
||||||
|
|
||||||
all: chunked xhtml pdf
|
all: chunked xhtml pdf
|
||||||
@ -58,4 +61,4 @@ pdf: prep
|
|||||||
clean:
|
clean:
|
||||||
@echo "** cleaning up"
|
@echo "** cleaning up"
|
||||||
@if [ -d "$(BUILDDIR)" ]; then cd "$(BUILDDIR)"; fi; \
|
@if [ -d "$(BUILDDIR)" ]; then cd "$(BUILDDIR)"; fi; \
|
||||||
rm -rf $(DOCS_OUT) $(PROJECT).chunked/
|
rm -rf $(DOCS_OUT) $(DOCS_TMP) $(PROJECT).chunked/ .fop.xconf
|
||||||
|
Loading…
Reference in New Issue
Block a user