summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Martin <s.martin49@gmail.com>2012-11-15 12:07:28 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2012-11-15 22:49:48 (GMT)
commitb566e8cb56b65d1b86f3502abf19d4f7304100bb (patch)
tree323c5d71af8e4bf5279a7eea00fb3705c3a40ed3
parent08e182523b1b9a073cda184dd040c1980ac54548 (diff)
downloadbuildroot-b566e8cb56b65d1b86f3502abf19d4f7304100bb.tar.gz
buildroot-b566e8cb56b65d1b86f3502abf19d4f7304100bb.tar.bz2
manual: make clean target consistent with others in buildroot
Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--docs/manual/manual.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/manual/manual.mk b/docs/manual/manual.mk
index 1eaf73a..fd9091e 100644
--- a/docs/manual/manual.mk
+++ b/docs/manual/manual.mk
@@ -38,10 +38,10 @@ $(call GENDOC_INNER,$(1),chunked,split-html,chunked,Split HTML)
$(call GENDOC_INNER,$(1),pdf,pdf,pdf,PDF,--dblatex-opts "-P latex.output.revhistory=0")
$(call GENDOC_INNER,$(1),text,txt,text,Text)
$(call GENDOC_INNER,$(1),epub,epub,epub,EPUB)
-clean: clean-$(1)
-clean-$(1):
+clean: $(1)-clean
+$(1)-clean:
$(Q)$(RM) -rf $(O)/docs/$(1)
-.PHONY: $(1) clean-$(1)
+.PHONY: $(1) $(1)-clean
endef
MANUAL_SOURCES = $(wildcard docs/manual/*.txt) $(wildcard docs/images/*)