aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-12-15 08:33:39 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-12-15 08:33:39 +0200
commitd43e00ba64a5332100a8a2330d251051302b0193 (patch)
tree59331bd88bf1214c28ed6faada66dae19e5b1a15
parent589b66ec94d95b4bea8d9a0d23c8439dff9031de (diff)
Add initial install support
-rw-r--r--brep/buildfile10
-rw-r--r--build/root.build1
-rw-r--r--buildfile2
-rw-r--r--www/buildfile10
4 files changed, 16 insertions, 7 deletions
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}