summaryrefslogtreecommitdiff
path: root/mbld/opts.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-04-14 00:17:46 -0700
committerOri Bernstein <ori@eigenstate.org>2015-04-14 00:17:46 -0700
commit6126262772590d74d00325f6c33c7ab5c6ba3987 (patch)
treee78296a015c82b2118640f1a6ba071c9b6f6a997 /mbld/opts.myr
parenta6b13e22bbb7cbeeae4cffa335ac04065a90f6db (diff)
downloadmc-6126262772590d74d00325f6c33c7ab5c6ba3987.tar.gz
Fix installing manpages.
Diffstat (limited to 'mbld/opts.myr')
-rw-r--r--mbld/opts.myr6
1 files changed, 4 insertions, 2 deletions
diff --git a/mbld/opts.myr b/mbld/opts.myr
index 1adfab9..0043c5d 100644
--- a/mbld/opts.myr
+++ b/mbld/opts.myr
@@ -75,11 +75,13 @@ const initopts = {
opt_destdir = std.getenvv("DESTDIR", "")
opt_mc = std.getenvv("MYR_MC", "6m")
opt_muse = std.getenvv("MYR_MUSE", "muse")
+ opt_runtime = std.getenvv("MYR_RT", "")
+ if opt_runtime.len == 0
+ opt_runtime = std.pathjoin([opt_instroot, "lib/myr", config.Runtime][:])
+ ;;
sysarchstr = std.fmt("+%s-%s", opt_sys, opt_arch)
sysstr = std.fmt("+%s", opt_sys)
archstr = std.fmt("+%s", opt_arch)
-
- opt_runtime = std.pathjoin([opt_instroot, "lib/myr", config.Runtime][:])
}