aboutsummaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorHorst31802015-08-21 00:05:39 +0200
committerHorst31802015-08-21 00:05:39 +0200
commit0a879aaa77977ddd6dd0591b673ff4624c745032 (patch)
treef3f326787223fdeecd3ae8e8294f4579e3e9c9ca /autogen.sh
parent59803702086f0616ef1ce65726497c38d48db761 (diff)
downloadsolarc-firefox-theme-0a879aaa77977ddd6dd0591b673ff4624c745032.tar.gz
solarc-firefox-theme-0a879aaa77977ddd6dd0591b673ff4624c745032.tar.xz
solarc-firefox-theme-0a879aaa77977ddd6dd0591b673ff4624c745032.zip
enable installation via autotools
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..0e36e12
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+test -z "$srcdir" && srcdir=$(dirname "$0")
+test -z "$srcdir" && srcdir=.
+
+cwd=$(pwd)
+cd "$srcdir"
+
+mkdir -p m4
+autoreconf --verbose --force --install || exit $?
+
+cd "$cwd"
+"$srcdir/configure" $@