aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-07-31 13:53:43 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-07-31 13:53:43 +0300
commitd1858f707896ce95b913098b0150f1d91480edd8 (patch)
treef5cef1d98c92cebc93c59f0405cb8742360d9930
parent5de1aed9e8743ab0b9f67b5033b147adfc8f576d (diff)
Redo header installation setup
-rw-r--r--odb/pgsql/buildfile14
1 files changed, 8 insertions, 6 deletions
diff --git a/odb/pgsql/buildfile b/odb/pgsql/buildfile
index aab6d3f..07d9b0f 100644
--- a/odb/pgsql/buildfile
+++ b/odb/pgsql/buildfile
@@ -52,26 +52,28 @@ details/:
{hxx ixx}{options}: install = false
}
-# Install into the odb/pgsql/ subdirectory of, say, /usr/include/.
+# Install into the odb/pgsql/ subdirectory of, say, /usr/include/ recreating
+# subdirectories.
#
-install.include = $install.include/odb/pgsql/
-install.include.subdirs = true # Recreate subdirectories.
+install_include = include/odb/pgsql/
+{hxx ixx txx}{*}: install = $install_include
+{hxx ixx txx}{*}: install.subdirs = true
# We want these to be picked up even when LIBODB_PGSQL_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
}
}