summaryrefslogtreecommitdiffstats
path: root/setup.sh
diff options
context:
space:
mode:
authorLee Thompson <thompson@dtosolutions.com>2012-11-27 16:02:59 -0600
committerLee Thompson <thompson@dtosolutions.com>2012-11-27 16:02:59 -0600
commit006357f954c72bf4212bbc16e869efbfe9d06eda (patch)
treea4aaa7c96e0ca2f16df73eb3e797be1ef7042d34 /setup.sh
parenta33c6f3df9d84baf7d2e299e2f0441afea2bd2ec (diff)
initial attempt at autoconf implementation, removed all generated code from git
Diffstat (limited to 'setup.sh')
-rwxr-xr-xsetup.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/setup.sh b/setup.sh
new file mode 100755
index 00000000..58297f67
--- /dev/null
+++ b/setup.sh
@@ -0,0 +1,14 @@
+#!/usr/bin/env bash
+
+# RUN ME after pulling the code from git!
+if [ "clean" == "$1" ]; then
+ make distclean
+ rm -rf tmp autom4te.cache config
+ rm -f INSTALL Makefile.in aclocal.m4 configure config.h.in *.gen.c *.gen.h ChangeLog
+else
+ autoreconf --install
+ ./configure --prefix=/opt/junk
+ mkdir tmp
+ make DESTDIR=./tmp install
+ make distcheck
+fi