aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-08-05 09:18:51 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-08-05 09:18:51 +0200
commit0538b31ec17a17ec1962339b11e2c5540da72550 (patch)
tree4fbf3d9244942e4214b39af152fb1d636888533c
parent839ce3f20206dcdc0e2c1ab04f9a40bad0b87302 (diff)
Fix bug in non-installation of generated option headers
-rw-r--r--odb/sqlite/buildfile18
1 files changed, 11 insertions, 7 deletions
diff --git a/odb/sqlite/buildfile b/odb/sqlite/buildfile
index 047f209..c5efe05 100644
--- a/odb/sqlite/buildfile
+++ b/odb/sqlite/buildfile
@@ -41,15 +41,19 @@ details/:
--guard-prefix LIBODB_SQLITE_DETAILS --generate-file-scanner \
--cli-namespace odb::sqlite::details::cli --long-usage
- # 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/sqlite/ subdirectory of, say, /usr/include/ recreating