aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-08-05 09:22:43 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-08-05 09:22:43 +0200
commit07e9999910ecf13d031a00f046c86680cb4ea0b6 (patch)
tree69e800dd5c9b12ccc83d0737ec72d74f895a21be
parent3680c8c90cc15ffb5139ef2b3d8bfc001c6329d8 (diff)
Fix bug in non-installation of generated option headers
-rw-r--r--odb/pgsql/buildfile18
1 files changed, 11 insertions, 7 deletions
diff --git a/odb/pgsql/buildfile b/odb/pgsql/buildfile
index a2d9147..d2723ec 100644
--- a/odb/pgsql/buildfile
+++ b/odb/pgsql/buildfile
@@ -41,15 +41,19 @@ details/:
--guard-prefix LIBODB_PGSQL_DETAILS --generate-file-scanner \
--cli-namespace odb::pgsql::details::cli --long-usage --generate-specifier
- # Include generated cli files into the distribution.
+ # Include generated cli files into the distribution. But don't install
+ # their headers since they are only used internally in the database
+ # implementation.
#
- cli.cxx{*}: dist = true
+ cli.cxx{*}: dist = true
+ cli.cxx{*}: install = false
+ }
+ else
+ {
+ # No install for the pre-generated case.
+ #
+ {hxx ixx}{options}@/: install = false
}
-
- # But don't install their headers since they are only used internally in the
- # database implementation.
- #
- {hxx ixx}{options}: install = false
}
# Install into the odb/pgsql/ subdirectory of, say, /usr/include/ recreating