summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-10-11 18:35:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-10-11 18:35:19 +0200
commit98ce3d9f82847932f974b10841ccb77b3cba838f (patch)
treeb4987762ea041988d6ba60d5e8c1b08a969bd541 /doc
parentc831e6282726bde7596050be13bc4afbf5d45488 (diff)
Add install target
Diffstat (limited to 'doc')
-rw-r--r--doc/makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/makefile b/doc/makefile
new file mode 100644
index 0000000..6ccfabb
--- /dev/null
+++ b/doc/makefile
@@ -0,0 +1,25 @@
+# file : doc/makefile
+# author : Boris Kolpackov <boris@codesynthesis.com>
+# copyright : Copyright (c) 2009 Code Synthesis Tools CC
+# license : MIT; see accompanying LICENSE file
+
+include $(dir $(lastword $(MAKEFILE_LIST)))../build/bootstrap.make
+
+default := $(out_base)/
+install := $(out_base)/.install
+cleandoc := $(out_base)/.cleandoc
+
+$(default):
+
+# Install.
+#
+$(install):
+ $(call install-data,$(src_base)/default.css,$(install_doc_dir)/cli/default.css)
+ $(call install-data,$(src_base)/cli.xhtml,$(install_doc_dir)/cli/cli.xhtml)
+ $(call install-data,$(src_base)/cli.1,$(install_man_dir)/man1/cli.1)
+
+# Clean.
+#
+$(cleandoc):
+
+$(call include,$(bld_root)/install.make)