diff --git a/Makefile.am b/Makefile.am index ee3f93d..c5a95d5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -25,7 +25,7 @@ namespaces=$(shell find src -type d) nsindex=$(addsuffix /index.js, $(namespaces)) SUBDIRS = doc -EXTRA_DIST = src package.json $(path_src)/version.js README.md +EXTRA_DIST = src package.json $(path_src)/version.js README.md autogen.sh .PHONY: FORCE todo diff --git a/README.md b/README.md index 13957da..873387f 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ root, then you likely have the sources as committed to the project repository; you may generate the script by issuing the following command: ``` - $ autoreconf -fvi + $ ./autogen.sh ``` You may then see `./configure --help` for more information. diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..433a840 --- /dev/null +++ b/autogen.sh @@ -0,0 +1,28 @@ +#!/bin/bash +# Autoreconf runner +# +# Copyright (C) 2016 LoVullo Associates, Inc. +# +# This file is part of liza. +# +# This program 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. +# +# This program 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 this program. If not, see . +## + +which autoreconf &>/dev/null || { + echo "\`autoreconf' not found in PATH" + exit 1 +} + +exec autoreconf -fvi +