summaryrefslogtreecommitdiff
path: root/doc/makefile
blob: 7b97ba2eccaa9c59603a403076fc739e32cd8208 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 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): $(out_base)/guide/

# Install.
#
$(install): $(out_base)/guide/.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): $(out_base)/guide/.cleandoc

$(call include,$(bld_root)/install.make)

$(call import,$(src_base)/guide/makefile)