aboutsummaryrefslogtreecommitdiff
path: root/doc/cxx/parser/guide/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'doc/cxx/parser/guide/makefile')
-rw-r--r--doc/cxx/parser/guide/makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/cxx/parser/guide/makefile b/doc/cxx/parser/guide/makefile
index 579cf79..b11d57b 100644
--- a/doc/cxx/parser/guide/makefile
+++ b/doc/cxx/parser/guide/makefile
@@ -9,7 +9,7 @@ default := $(out_base)/
install := $(out_base)/.install
dist := $(out_base)/.dist
dist-win := $(out_base)/.dist-win
-cleandoc := $(out_base)/.cleandoc
+clean := $(out_base)/.clean
# Build.
#
@@ -46,9 +46,11 @@ $(dist-win): $(dist)
# Clean
#
-$(cleandoc):
+$(clean):
+ifneq ($(xsd_clean_gen),n)
$(call message,rm $$1,rm -f $$1,$(out_base)/cxx-parser-guide.ps)
$(call message,rm $$1,rm -f $$1,$(out_base)/cxx-parser-guide.pdf)
+endif
# How to.
#