summaryrefslogtreecommitdiff
path: root/scripts/haunt.in
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 /scripts/haunt.in
parent88d3b34ccea3bb1121836ed6028ddd06c0f34ff1 (diff)
Remove hardcoded Guile executable path.
* scripts/haunt: Now a build artifact. * scripts/haunt.in: New file. * configure.ac: Pre-process haunt.in.
Diffstat (limited to 'scripts/haunt.in')
-rwxr-xr-xscripts/haunt.in24
1 files changed, 24 insertions, 0 deletions
diff --git a/scripts/haunt.in b/scripts/haunt.in
new file mode 100755
index 0000000..7206036
--- /dev/null
+++ b/scripts/haunt.in
@@ -0,0 +1,24 @@
+#!@GUILE@ --no-auto-compile
+-*- scheme -*-
+!#
+;;; Haunt --- Static site generator for GNU Guile
+;;; Copyright © 2015 David Thompson <davet@gnu.org>
+;;;
+;;; This file is part of Haunt.
+;;;
+;;; Haunt is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or
+;;; (at your option) any later version.
+;;;
+;;; Haunt is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;;; General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with Haunt. If not, see <http://www.gnu.org/licenses/>.
+
+(use-modules (haunt ui))
+
+(apply haunt-main (command-line))