diff options
author | David Thompson <davet@gnu.org> | 2015-07-26 15:18:19 -0400 |
---|---|---|
committer | David Thompson <davet@gnu.org> | 2015-07-26 15:20:18 -0400 |
commit | a123965c0cd48acbdbda58206cdc9bc8d8f27086 (patch) | |
tree | 66e8dd6acdc4d7e986002f8d99a5002b458729d4 | |
parent | 88d3b34ccea3bb1121836ed6028ddd06c0f34ff1 (diff) |
Remove hardcoded Guile executable path.
* scripts/haunt: Now a build artifact.
* scripts/haunt.in: New file.
* configure.ac: Pre-process haunt.in.
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | configure.ac | 1 | ||||
-rwxr-xr-x | scripts/haunt.in (renamed from scripts/haunt) | 2 |
3 files changed, 3 insertions, 1 deletions
@@ -12,3 +12,4 @@ .#* /haunt/config.scm /example/site/ +/scripts/haunt diff --git a/configure.ac b/configure.ac index 4281e57..e60e097 100644 --- a/configure.ac +++ b/configure.ac @@ -8,6 +8,7 @@ AM_SILENT_RULES([yes]) AC_CONFIG_FILES([Makefile haunt/config.scm]) AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env]) +AC_CONFIG_FILES([scripts/haunt], [chmod +x scripts/haunt]) GUILE_PROGS([2.0.11]) diff --git a/scripts/haunt b/scripts/haunt.in index f101003..7206036 100755 --- a/scripts/haunt +++ b/scripts/haunt.in @@ -1,4 +1,4 @@ -#!/usr/bin/guile --no-auto-compile +#!@GUILE@ --no-auto-compile -*- scheme -*- !# ;;; Haunt --- Static site generator for GNU Guile |