aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@gnu.org>2016-11-12 17:36:18 +0100
committerMathieu Lirzin <mthl@gnu.org>2016-11-12 17:49:20 +0100
commit4f0d665746e0c6efe43c0f281e0eaac5012c79da (patch)
tree84d9b6e29986620f232761a9c246927d34aa3b7b /bin
parent1e5012ca803bbc4e08982f99d6c902e75dcb4421 (diff)
downloadcuirass-4f0d665746e0c6efe43c0f281e0eaac5012c79da.tar
cuirass-4f0d665746e0c6efe43c0f281e0eaac5012c79da.tar.gz
cuirass: Hard code Guile load paths.
* configure.ac (bin/cuirass, bin/evaluate): Let 'make' generate them. * bin/cuirass.in: Hard code load paths to find Cuirass modules. * Makefile.am (do_subst): Update substitution. (bin/cuirass, bin/evaluate): New rules. (EXTRA_DIST): Distribute 'bin/cuirass.in' and 'bin/evaluate.in'. (MOSTLYCLEANFILES): Add '$(bin_SCRIPTS)'. (install-exec-hook): New target. (local_load_path, local_load_compiled_path): New variables. (AM_TESTS_ENVIRONMENT): Set Guile load paths. * build-aux/pre-inst-env.in: Don't modify Guile load paths.
Diffstat (limited to 'bin')
-rw-r--r--bin/cuirass.in5
-rw-r--r--bin/evaluate.in3
2 files changed, 6 insertions, 2 deletions
diff --git a/bin/cuirass.in b/bin/cuirass.in
index a5a11b6..6ab7349 100644
--- a/bin/cuirass.in
+++ b/bin/cuirass.in
@@ -1,8 +1,11 @@
#!/bin/sh
# -*- scheme -*-
+# @configure_input@
+GUILE_LOAD_PATH="@PACKAGE_LOAD_PATH@${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH"
+GUILE_LOAD_COMPILED_PATH="@PACKAGE_LOAD_COMPILED_PATH@${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH"
exec ${GUILE:-@GUILE@} --no-auto-compile -e main -s "$0" "$@"
!#
-;;; cuirass -- continuous integration tool
+;;;; cuirass -- continuous integration tool
;;; Copyright © 2016 Mathieu Lirzin <mthl@gnu.org>
;;;
;;; This file is part of Cuirass.
diff --git a/bin/evaluate.in b/bin/evaluate.in
index 872d0b0..c8a45ce 100644
--- a/bin/evaluate.in
+++ b/bin/evaluate.in
@@ -1,10 +1,11 @@
#!/bin/sh
# -*- scheme -*-
+# @configure_input@
GUILE_LOAD_PATH="$1${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH"
export GUILE_LOAD_PATH
exec ${GUILE:-@GUILE@} --no-auto-compile -e main -s "$0" "$@"
!#
-;;; evaluate -- convert a specification to a job list
+;;;; evaluate -- convert a specification to a job list
;;; Copyright © 2016 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2016 Mathieu Lirzin <mthl@gnu.org>
;;;