diff options
author | Nicolas Williams <nico@cryptonector.com> | 2015-10-22 21:53:53 -0500 |
---|---|---|
committer | Nicolas Williams <nico@cryptonector.com> | 2015-10-22 21:53:53 -0500 |
commit | 87c278c8a587c0a08df273e85eb52554d74d80be (patch) | |
tree | 8331ba51bcad0c1ff231ec7d989bcb6f88fd9786 | |
parent | 143e8dc5e41c7f8f7e2a2cf2f715ab5aa3bddfc8 (diff) |
Remove setup.sh (fix #993)
-rwxr-xr-x | setup.sh | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/setup.sh b/setup.sh deleted file mode 100755 index a5a9aee4..00000000 --- a/setup.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/usr/bin/env bash - -# RUN ME after pulling the code from git! -# -# This script is handy after pulling the code out of git without having -# to remember all the typing needed to build up and tear down all the -# crap that autotools puts in your source repo. The intent is to keep -# all generated files out of git. - -if [ "clean" == "$1" ]; then - make distclean || echo "continuing..." - find config/m4 -type f \( -name libtool\* -o -name lt\* \) | xargs rm -f - find config -name m4 -prune \ - -o -name .gitignore -prune \ - -o -type f -print | xargs rm -f - rm -rf autom4te.cache - rm -f Makefile.in aclocal.m4 configure -elif [ "superclean" == "$1" ]; then - # if autoconf errors during distcheck, it leaves files that need chmod'ing - ver=$(scripts/version|tr -d '\n') - if [ "x${ver}" != "x" ]; then - if [ -d jq-${ver} ]; then - chmod -R u+w jq-${ver} - rm -rf jq-${ver} - fi - rm -f jq-${ver}* - fi -else - autoreconf --install - ./configure --disable-valgrind - make -j8 - make check -j4 -fi |