sourcebase=$1 if [ -z ${sourcebase} ] then echo "Need an input" exit fi if [ ! -d ${sourcebase} ] then echo "${sourcebase} not a directory" exit fi findcmd=$QNX_HOST/usr/bin/find if [ ! -e ${findcmd} ] then findcmd=find fi echo "Locating GNUmakefile's in ${sourcebase}" list=`${findcmd} ${sourcebase} -name GNUmakefile` for f in ${list} do dir=`dirname ${f}` echo "Touching ${dir}/Makefile.dnm" touch ${dir}/Makefile.dnm done