aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-08-02 11:49:18 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-08-02 11:49:18 +0200
commitd8284faff62f71f68e1d40c24c4e3396f971efd6 (patch)
tree481f4c824d119ec8d732f436060590cd6c73ee3f
parentc50db8a83ba43e602f0c3cba171162da0e376dbb (diff)
Fix module installation
-rw-r--r--buildfile8
1 files changed, 8 insertions, 0 deletions
diff --git a/buildfile b/buildfile
index 6ec4a5d..09e059e 100644
--- a/buildfile
+++ b/buildfile
@@ -58,6 +58,10 @@ else
#
liba{std-modules}: $dir/liba{std}
$dir/liba{std}: cxx{dummy.cxx}
+
+ # @@ Doesn't work if installed so we don't bother installing it.
+ #
+ $dir/liba{std}: install = false
}
# @@ TMP: use utility library instead?
@@ -77,4 +81,8 @@ else
mxx{std-core}@./: cc.module_name = std.core
mxx{std-io}@./: cc.module_name = std.io
+
+ # Install into the libstd-modules/ subdirectory of, say, /usr/include/.
+ #
+ mxx{*}: install = include/$project/
}