diff options
author | David Thompson <dthompson@vistahigherlearning.com> | 2020-04-17 09:32:06 -0400 |
---|---|---|
committer | David Thompson <dthompson@vistahigherlearning.com> | 2020-04-17 09:32:06 -0400 |
commit | 0a7b302f04433f7e45ac694defa12d3ddda9e926 (patch) | |
tree | 0e872c8f08d18ffa1909892a1740ea85964c51f1 | |
parent | f7d9a89db443c8449c5f64a1ecf92a9b3abb6fdf (diff) |
Add executable script.
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | scripts/lisparuga.in | 25 |
4 files changed, 30 insertions, 0 deletions
@@ -8,3 +8,4 @@ build-aux/ /configure /pre-inst-env *.go +/scripts/lisparuga diff --git a/Makefile.am b/Makefile.am index a673fef..5a57b33 100644 --- a/Makefile.am +++ b/Makefile.am @@ -37,6 +37,9 @@ SUFFIXES = .scm .go moddir=$(prefix)/share/guile/site/$(GUILE_EFFECTIVE_VERSION) godir=$(libdir)/guile/$(GUILE_EFFECTIVE_VERSION)/site-ccache +bin_SCRIPTS = \ + scripts/lisparuga + SOURCES = \ lisparuga/config.scm \ lisparuga/inotify.scm \ diff --git a/configure.ac b/configure.ac index fbf713a..1de1a28 100644 --- a/configure.ac +++ b/configure.ac @@ -9,6 +9,7 @@ AM_SILENT_RULES([yes]) AC_PATH_PROG([GUILE], [guile]) AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env]) +AC_CONFIG_FILES([scripts/lisparuga], [chmod +x scripts/lisparuga]) GUILE_PKG([3.0 2.2]) GUILE_PROGS diff --git a/scripts/lisparuga.in b/scripts/lisparuga.in new file mode 100644 index 0000000..e70cdc1 --- /dev/null +++ b/scripts/lisparuga.in @@ -0,0 +1,25 @@ +#!@GUILE@ --no-auto-compile +-*- scheme -*- +!# + +;;; Lisparuga --- Static site generator for GNU Guile +;;; Copyright © 2015 David Thompson <davet@gnu.org> +;;; +;;; This file is part of Lisparuga. +;;; +;;; Lisparuga 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. +;;; +;;; Lisparuga 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 Lisparuga. If not, see <http://www.gnu.org/licenses/>. + +(use-modules (lisparuga)) + +(launch-lisparuga #:window-width 640 #:window-height 480) |