aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-07-31 13:54:27 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-07-31 13:54:27 +0300
commit5c113ced153a413585b63c14cb77813f8982e836 (patch)
tree4cc06cdf5c4d78088ab1ad76a6f7ac228bb2bb30
parentec34d84f9c245daf7ab4d98f1f0f14ce38e7f11c (diff)
Redo header installation setup
-rw-r--r--odb/sqlite/buildfile14
1 files changed, 8 insertions, 6 deletions
diff --git a/odb/sqlite/buildfile b/odb/sqlite/buildfile
index 9d648cb..08a6abc 100644
--- a/odb/sqlite/buildfile
+++ b/odb/sqlite/buildfile
@@ -52,26 +52,28 @@ details/:
{hxx ixx}{options}: install = false
}
-# Install into the odb/sqlite/ subdirectory of, say, /usr/include/.
+# Install into the odb/sqlite/ subdirectory of, say, /usr/include/ recreating
+# subdirectories.
#
-install.include = $install.include/odb/sqlite/
-install.include.subdirs = true # Recreate subdirectories.
+install_include = include/odb/sqlite/
+{hxx ixx txx}{*}: install = $install_include
+{hxx ixx txx}{*}: install.subdirs = true
# We want these to be picked up even when LIBODB_SQLITE_BUILD2 is not defined.
#
hxx{version}@./: install = false
-hxx{version-build2}: install = $install.include/version.hxx
+hxx{version-build2}: install = $install_include/version.hxx
details/build2/:
{
if ($cxx.id == "msvc")
{
h{config}@./: install = false
- h{config-vc}@./: install = $install.include/details/
+ h{config-vc}@./: install = $install_include/details/
}
else
{
- h{config}@./: install = $install.include/details/
+ h{config}@./: install = $install_include/details/
h{config-vc}@./: install = false
}
}