aboutsummaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorHorst31802015-05-28 17:41:22 +0200
committerHorst31802015-05-28 17:41:22 +0200
commitf21150e179d2ceae1e743041fbf9ea9eddc93d9a (patch)
treead8b0021f8f1501e5b1935a9053bdab5c6bdd8fc /autogen.sh
parentd533557384041bfc1a73c0ee9f65c4184a4ec92a (diff)
downloadsolarc-theme-f21150e179d2ceae1e743041fbf9ea9eddc93d9a.tar.gz
solarc-theme-f21150e179d2ceae1e743041fbf9ea9eddc93d9a.tar.xz
solarc-theme-f21150e179d2ceae1e743041fbf9ea9eddc93d9a.zip
add build system
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" $@