aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-11-04 09:24:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-11-04 09:24:15 +0200
commit7899564da489006f40f23c789b850b2f843de6cf (patch)
tree47a9cc4db400b83b08e447920caaa2e108ac4fda /makefile
parent136ef104a65ddba22de87d85d00629b2ee87d2e9 (diff)
Implement install target for examples
Diffstat (limited to 'makefile')
-rw-r--r--makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/makefile b/makefile
index 523dc6c..3220380 100644
--- a/makefile
+++ b/makefile
@@ -22,16 +22,22 @@ $(default): $(out_base)/xsd/ \
#
$(test): $(out_base)/tests/.test
+
# Install.
#
$(install): $(out_base)/xsd/.install \
$(out_base)/libxsd/.install \
+ $(out_base)/examples/.install \
$(out_base)/documentation/.install
+ $(call install-dir,$(src_base)/dist/examples/build,$(install_doc_dir)/xsd/examples/build)
+ $(call install-dir,$(src_base)/dist/examples/cxx,$(install_doc_dir)/xsd/examples/cxx,-name makefile)
+ $(call install-data,$(src_base)/dist/examples/makefile,$(install_doc_dir)/xsd/examples/makefile)
$(call install-data,$(src_base)/FLOSSE,$(install_doc_dir)/xsd/FLOSSE)
$(call install-data,$(src_base)/GPLv2,$(install_doc_dir)/xsd/GPLv2)
$(call install-data,$(src_base)/LICENSE,$(install_doc_dir)/xsd/LICENSE)
$(call install-data,$(src_base)/NEWS,$(install_doc_dir)/xsd/NEWS)
- $(call install-data,$(src_base)/README,$(install_doc_dir)/xsd/README)
+ $(call install-data,$(src_base)/dist/README-UNIX,$(install_doc_dir)/xsd/README)
+
# Dist.
#