summaryrefslogtreecommitdiff
path: root/documentation/makefile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-09-18 11:03:38 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-09-18 11:03:38 +0200
commit95f7c4722399964142aac1813c72f566d84d4d72 (patch)
tree36172642e634ab67fc94faf99c7d89df3a6b92e5 /documentation/makefile
parentc34af468acc94691d0a5954eae38a89506bc620e (diff)
Integrate documentation generation into the build system
Diffstat (limited to 'documentation/makefile')
-rw-r--r--documentation/makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/documentation/makefile b/documentation/makefile
index 3fd6133..7d581ac 100644
--- a/documentation/makefile
+++ b/documentation/makefile
@@ -5,10 +5,14 @@
include $(dir $(lastword $(MAKEFILE_LIST)))../build/bootstrap.make
-install := $(out_base)/.install
+default := $(out_base)/
+install := $(out_base)/.install
+cleandoc := $(out_base)/.cleandoc
-.PHONY: $(install)
+$(default): $(out_base)/cxx/
+# Install.
+#
$(install):
$(call install-dir,$(src_base)/cxx,$(install_doc_dir)/xsd/cxx)
$(call install-data,$(src_base)/default.css,$(install_doc_dir)/xsd/default.css)
@@ -17,4 +21,10 @@ $(install):
$(call install-data,$(src_base)/xsd.xhtml,$(install_doc_dir)/xsd/xsd.xhtml)
$(call install-data,$(src_base)/xsd.1,$(install_man_dir)/man1/xsd.1)
+# Clean.
+#
+$(cleandoc): $(src_base)/cxx/.cleandoc
+
$(call include,$(bld_root)/install.make)
+
+$(call import,$(src_base)/cxx/makefile)