summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <davet@gnu.org>2015-07-26 15:18:19 -0400
committerDavid Thompson <davet@gnu.org>2015-07-26 15:20:18 -0400
commita123965c0cd48acbdbda58206cdc9bc8d8f27086 (patch)
tree66e8dd6acdc4d7e986002f8d99a5002b458729d4
parent88d3b34ccea3bb1121836ed6028ddd06c0f34ff1 (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--.gitignore1
-rw-r--r--configure.ac1
-rwxr-xr-xscripts/haunt.in (renamed from scripts/haunt)2
3 files changed, 3 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 47e8631..e38ff09 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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