Set and use TMP/TMPDIR
Run jsonlint in verbose mode
Use $SRCDIR to build with srcdir != builddir
Use shell shorthand
Drop pointless mkdir