Artifact [2f1302c97f]

Artifact 2f1302c97faef4dfe5ee8832b7af55093e1430d5:


#! /usr/bin/env bash

./kitcreator distclean >/dev/null 2>/dev/null

KITSHROOTDIR="$(ls -1d kitsh/buildsrc/kitsh-*/)"
export KITSHROOTDIR
(
	cd "${KITSHROOTDIR}" || exit 1

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

	make -f Makefile.common.in boot.tcl.h zipvfs.tcl.h cvfs.tcl.h

	make distclean >/dev/null 2>/dev/null

	exit 0
) || exit 1

rm -f tcl/patchscripts/dietlibc.sh

find . -name '.*.sw?' -type f | xargs rm -f