pre.sh at [7bfc5cf0e2]

File build/pre.sh artifact e1071070fa part of check-in 7bfc5cf0e2


#! /bin/bash

./kitcreator distclean

KITSHROOTDIR="$(ls -1d kitsh/buildsrc/kitsh-*/)"
export KITSHROOTDIR

(
	cd "${KITSHROOTDIR}" || exit 1

	autoconf; autoheader
	rm -rf autom4te.cache
	rm -f *~

	./configure || exit 1
	make mk4tcl.tcl.h

	make distclean
) || exit 1