pre.sh at [8670f53dbc]

File build/pre.sh artifact 6750e7ca3f part of check-in 8670f53dbc


#! /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

	make distclean
)