From 0538b31ec17a17ec1962339b11e2c5540da72550 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 5 Aug 2017 09:18:51 +0200 Subject: Fix bug in non-installation of generated option headers --- odb/sqlite/buildfile | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'odb') 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 -- cgit v1.1