diff options
author | David Tolnay <dtolnay@gmail.com> | 2015-07-24 23:25:55 -0700 |
---|---|---|
committer | David Tolnay <dtolnay@gmail.com> | 2015-07-24 23:26:47 -0700 |
commit | ceb2684f2fce243a92fbbab16d4cfd824a2ba535 (patch) | |
tree | 3ea99829bb9ee1698be9a74adf7059de2d279bfa | |
parent | b9c340a211404e403301b47f970fecf25ca97d32 (diff) |
Update setup.sh script
Adjust what gets cleaned up now that ChangeLog and
config/.gitignore are checked into the repo, and skip
install and distcheck steps.
-rwxr-xr-x | setup.sh | 18 |
1 files changed, 8 insertions, 10 deletions
@@ -10,10 +10,11 @@ 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 -type f -print | xargs rm -f - rm -rf tmp autom4te.cache - rm -f INSTALL Makefile.in aclocal.m4 configure config.h.in ChangeLog - rm -f jv_utf8_tables.gen.h + 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') @@ -26,10 +27,7 @@ elif [ "superclean" == "$1" ]; then fi else autoreconf --install - ./configure --prefix=/opt/junk - make check - [ -d tmp ] && mv tmp tmp- - mkdir tmp - make DESTDIR=./tmp install - make distcheck + ./configure --disable-valgrind + make -j8 + make check -j4 fi |