From 07e9999910ecf13d031a00f046c86680cb4ea0b6 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 5 Aug 2017 09:22:43 +0200 Subject: Fix bug in non-installation of generated option headers --- odb/pgsql/buildfile | 18 +++++++++++------- 1 file 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 -- cgit v1.1