Patchwork [02/23] manual: make clean target consistent with others in buildroot

login
register
mail settings
Submitter Samuel Martin
Date Nov. 15, 2012, 10:07 p.m.
Message ID <1353017248-13356-1-git-send-email-s.martin49@gmail.com>
Download mbox | patch
Permalink /patch/199450/
State Accepted
Commit b566e8cb56b65d1b86f3502abf19d4f7304100bb
Headers show

Comments

Samuel Martin - Nov. 15, 2012, 10:07 p.m.
Signed-off-by: Samuel Martin <s.martin49@gmail.com>

Patch

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/*)