Remove hardcoded Guile executable path.

* scripts/haunt: Now a build artifact.
* scripts/haunt.in: New file.
* configure.ac: Pre-process haunt.in.
This commit is contained in:
David Thompson 2015-07-26 15:18:19 -04:00
parent 88d3b34cce
commit a123965c0c
3 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View File

@ -12,3 +12,4 @@
.#* .#*
/haunt/config.scm /haunt/config.scm
/example/site/ /example/site/
/scripts/haunt

View File

@ -8,6 +8,7 @@ AM_SILENT_RULES([yes])
AC_CONFIG_FILES([Makefile haunt/config.scm]) AC_CONFIG_FILES([Makefile haunt/config.scm])
AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env]) 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]) GUILE_PROGS([2.0.11])

View File

@ -1,4 +1,4 @@
#!/usr/bin/guile --no-auto-compile #!@GUILE@ --no-auto-compile
-*- scheme -*- -*- scheme -*-
!# !#
;;; Haunt --- Static site generator for GNU Guile ;;; Haunt --- Static site generator for GNU Guile