aboutsummaryrefslogtreecommitdiff
path: root/cutl
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-10-11 21:16:24 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-10-11 21:16:24 +0200
commit923ab580cf6e5e59bad2fa5bda47a8be69ef56ca (patch)
tree3f5bcf8144cbc031376cbe5f2185e1df95924ef6 /cutl
parentb2045daef08cdd6d6fbb56935170507e9d47e679 (diff)
Add install target
Diffstat (limited to 'cutl')
-rw-r--r--cutl/makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/cutl/makefile b/cutl/makefile
index 1635311..92c7e35 100644
--- a/cutl/makefile
+++ b/cutl/makefile
@@ -20,6 +20,8 @@ cxx_od := $(cxx_obj:.o=.o.d)
cutl.l := $(out_base)/cutl.l
cutl.l.cpp-options := $(out_base)/cutl.l.cpp-options
+default := $(out_base)/
+install := $(out_base)/.install
clean := $(out_base)/.clean
@@ -37,6 +39,12 @@ $(call include-dep,$(cxx_od))
#
$(out_base)/: $(cutl.l)
+# Install.
+#
+$(install): $(cutl.l)
+ $(call install-lib,$<,$(install_lib_dir))
+ $(call install-dir,$(src_base),$(install_inc_dir)/cutl,\
+'(' -name '*.hxx' -o -name '*.ixx' -o -name '*.txx' ')')
# Clean.
#