rockbox/tools/checkwps/cleanall.sh
Maurus Cuelenaere 074b2504e4 Checkwps: use script for getting the targets instead of hardcoded file (fixes checkwps due to target renaming)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24122 a1c6a512-1295-4272-9138-f99709370657
2009-12-29 21:49:44 +00:00

14 lines
352 B
Bash
Executable file

#!/bin/sh
rootdir=`dirname $0`
outdir=$rootdir/output
make clean # make clean the build dir first
rm -f autoconf.h
rm -f Makefile
awk -f $rootdir/parse_configure.awk $rootdir/../configure | (
while read target model
do
rm -f $outdir/checkwps.$model # then delete any output/checkwps.*
rmdir $outdir > /dev/null 2>&1
done
)