clean()
{
echo "=========================================CLEAN============================================"
- rm -r ${SRCDIR}/build
+ rm -rf ${SRCDIR}/build
}
# build
build()
{
echo "=========================================BUILD============================================"
- VER=`cat ./packaging/tidl.spec | grep 'Version' | sed 's/Version://' | tr -d ' \r'`
- FULLVER=$VER CURDIR=${SRCDIR} make -f Makefile.dibs
+ #VER=`cat ./packaging/tidl.spec | grep 'Version' | sed 's/Version://' | tr -d ' \r'`
+ #FULLVER=$VER CURDIR=${SRCDIR} make -f Makefile.dibs
}
# install
INSTALL_DIR=${SRCDIR}/package/tidlc.package.${TARGET_OS}
mkdir -p ${INSTALL_DIR}/data/tools
- cp ${SRCDIR}/build/idlc/tidlc ${INSTALL_DIR}/data/tools/
+ #cp ${SRCDIR}/build/idlc/tidlc ${INSTALL_DIR}/data/tools/
+ cp ${SRCDIR}/release/${TARGET_OS}/tidlc.exe ${INSTALL_DIR}/data/tools/
cp ${SRCDIR}/package/tidlc-run.bat ${INSTALL_DIR}/data/tools/
}