diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-11-04 09:57:46 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-11-04 09:57:46 +0200 |
commit | fccba6f6bc4c3960473423656563045dcc6c2067 (patch) | |
tree | e25510754a46ab25c22b21800cb7b57db3c2c272 /documentation/cxx/tree/makefile | |
parent | 7899564da489006f40f23c789b850b2f843de6cf (diff) |
Implement more accurate doc installation
Diffstat (limited to 'documentation/cxx/tree/makefile')
-rw-r--r-- | documentation/cxx/tree/makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/documentation/cxx/tree/makefile b/documentation/cxx/tree/makefile index 7063da8..b71a738 100644 --- a/documentation/cxx/tree/makefile +++ b/documentation/cxx/tree/makefile @@ -8,6 +8,7 @@ include $(dir $(lastword $(MAKEFILE_LIST)))../../../build/bootstrap.make docs := guide manual default := $(out_base)/ +install := $(out_base)/.install dist := $(out_base)/.dist dist-win := $(out_base)/.dist-win cleandoc := $(out_base)/.cleandoc @@ -16,11 +17,17 @@ cleandoc := $(out_base)/.cleandoc # $(default): $(addprefix $(out_base)/,$(addsuffix /,$(docs))) -# Dist. +# Install & Dist. # dist-common := $(out_base)/.dist-common +$(install): path := $(subst $(src_root)/documentation/,,$(src_base)) $(dist-common): path := $(subst $(src_root)/,,$(src_base)) + +$(install): $(addprefix $(out_base)/,$(addsuffix /.install,$(docs))) + $(call install-dir,$(src_base)/dbxml,$(install_doc_dir)/xsd/$(path)/dbxml) + $(call install-dir,$(src_base)/reference,$(install_doc_dir)/xsd/$(path)/reference) + $(dist-common): $(call install-dir,$(src_base)/dbxml,$(dist_prefix)/$(path)/dbxml) $(call install-dir,$(src_base)/reference,$(dist_prefix)/$(path)/reference) @@ -32,4 +39,6 @@ $(dist-win): $(dist-common) $(addprefix $(out_base)/,$(addsuffix /.dist-win,$(do # $(cleandoc): $(addprefix $(out_base)/,$(addsuffix /.cleandoc,$(docs))) +$(call include,$(bld_root)/install.make) + $(foreach m,$(docs),$(call import,$(src_base)/$m/makefile)) |