From d43e00ba64a5332100a8a2330d251051302b0193 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 15 Dec 2015 08:33:39 +0200 Subject: Add initial install support --- brep/buildfile | 10 ++++------ build/root.build | 1 + buildfile | 2 +- www/buildfile | 10 ++++++++++ 4 files changed, 16 insertions(+), 7 deletions(-) create mode 100644 www/buildfile diff --git a/brep/buildfile b/brep/buildfile index eb3f472..f2bfcfe 100644 --- a/brep/buildfile +++ b/brep/buildfile @@ -4,6 +4,7 @@ define mod: libso mod{*}: bin.libprefix = mod_ +mod{*}: install = libexec ./: lib{brep} mod{brep} @@ -15,8 +16,10 @@ import libs += libbpkg%lib{bpkg} lib{brep}: \ {hxx cxx}{ package } \ -{hxx cxx}{ package-traits } \ {hxx ixx cxx}{ package-odb } \ +{hxx cxx}{ package-traits } \ +{hxx }{ types } \ +{hxx }{ utility } \ $libs libso{brep}: cxx.export.poptions = -I$out_root -I$src_root @@ -34,20 +37,15 @@ mod{brep}: \ {hxx cxx}{ module } \ {hxx ixx cxx}{ options } \ {hxx }{ options-types } \ - {hxx cxx}{ package } \ {hxx cxx}{ package-details } \ - {hxx ixx cxx}{ package-odb } \ {hxx cxx}{ package-search } \ - {hxx cxx}{ package-traits } \ {hxx cxx}{ package-version-details } \ {hxx cxx}{ page } \ {hxx cxx}{ repository-details } \ {hxx cxx}{ repository-root } \ { cxx}{ services } \ {hxx cxx}{ shared-database } \ - {hxx }{ types } \ {hxx cxx}{ types-parsers } \ - {hxx }{ utility } \ {hxx }{ wrapper-traits } \ ../web/{hxx cxx}{ mime-url-encoding } \ ../web/{hxx }{ module } \ diff --git a/build/root.build b/build/root.build index 53219ae..3b55eba 100644 --- a/build/root.build +++ b/build/root.build @@ -32,3 +32,4 @@ cxx{*options}: dist = true # All exe{} in tests/ are, well, tests. # tests/: test.exe = true +tests/: install = false diff --git a/buildfile b/buildfile index 205cb3e..076d9c7 100644 --- a/buildfile +++ b/buildfile @@ -2,6 +2,6 @@ # copyright : Copyright (c) 2014-2015 Code Synthesis Ltd # license : MIT; see accompanying LICENSE file -d = brep/ loader/ tests/ +d = brep/ loader/ tests/ www/ ./: $d doc{LICENSE version} include $d diff --git a/www/buildfile b/www/buildfile new file mode 100644 index 0000000..ff382d8 --- /dev/null +++ b/www/buildfile @@ -0,0 +1,10 @@ +# file : www/buildfile +# copyright : Copyright (c) 2014-2015 Code Synthesis Ltd +# license : MIT; see accompanying LICENSE file + +define css: file +css{*}: extension = css +css{*}: install = data/www + +./: css{common package-details package-search package-version-details \ +repository-details} -- cgit v1.1