summaryrefslogtreecommitdiff
path: root/doc/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'doc/makefile')
-rw-r--r--doc/makefile44
1 files changed, 0 insertions, 44 deletions
diff --git a/doc/makefile b/doc/makefile
deleted file mode 100644
index 6ec866e..0000000
--- a/doc/makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-# file : doc/makefile
-# author : Boris Kolpackov <boris@codesynthesis.com>
-# 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): $(out_base)/cli.xhtml $(out_base)/cli.1 $(out_base)/guide/
-
-# Generated documentation.
-#
-$(out_base)/cli.xhtml: $(src_root)/cli/options.cli \
- $(src_base)/cli-prologue.xhtml \
- $(src_base)/cli-epilogue.xhtml
- $(call message,cli-html $<,$(out_root)/cli/cli --generate-html \
---output-dir $(out_base) --html-prologue-file $(src_base)/cli-prologue.xhtml \
---html-epilogue-file $(src_base)/cli-epilogue.xhtml $<)
- $(call message,,mv $(out_base)/options.html $(out_base)/cli.xhtml)
-
-$(out_base)/cli.1: $(src_root)/cli/options.cli \
- $(src_base)/cli-prologue.1 \
- $(src_base)/cli-epilogue.1
- $(call message,cli-man $<,$(out_root)/cli/cli --generate-man \
---output-dir $(out_base) --man-prologue-file $(src_base)/cli-prologue.1 \
---man-epilogue-file $(src_base)/cli-epilogue.1 $<)
- $(call message,,mv $(out_base)/options.1 $(out_base)/cli.1)
-
-# Install.
-#
-$(install): $(out_base)/guide/.install $(out_base)/cli.xhtml $(out_base)/cli.1
- $(call install-data,$(src_base)/default.css,$(install_doc_dir)/cli/default.css)
- $(call install-data,$(out_base)/cli.xhtml,$(install_doc_dir)/cli/cli.xhtml)
- $(call install-data,$(out_base)/cli.1,$(install_man_dir)/man1/cli.1)
-
-# Clean.
-#
-$(cleandoc): $(out_base)/guide/.cleandoc
-
-$(call include,$(bld_root)/install.make)
-
-$(call import,$(src_base)/guide/makefile)