Update of /cvsroot/pure-data/scripts/auto-build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10988
Modified Files: pd-extended-auto-builder.sh pd-main-auto-builder.sh Log Message: fixed up for windows
Index: pd-main-auto-builder.sh =================================================================== RCS file: /cvsroot/pure-data/scripts/auto-build/pd-main-auto-builder.sh,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** pd-main-auto-builder.sh 8 Aug 2006 15:36:27 -0000 1.5 --- pd-main-auto-builder.sh 28 Sep 2006 18:27:41 -0000 1.6 *************** *** 20,23 **** --- 20,27 ---- platform_name=i386 ;; + CYGWIN*) + configure_options="" + platform_name=i386 + ;; *) echo "ERROR: Platform $SYSTEM not supported!"
Index: pd-extended-auto-builder.sh =================================================================== RCS file: /cvsroot/pure-data/scripts/auto-build/pd-extended-auto-builder.sh,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** pd-extended-auto-builder.sh 8 Aug 2006 15:36:27 -0000 1.4 --- pd-extended-auto-builder.sh 28 Sep 2006 18:27:41 -0000 1.5 *************** *** 9,12 **** --- 9,33 ----
+ BUILD_DIR=. + case $SYSTEM in + Linux) + BUILD_DIR=linux_make + ;; + Darwin) + BUILD_DIR=darwin_app + ;; + MINGW*) + BUILD_DIR=win32_inno + ;; + CYGWIN*) + BUILD_DIR=win32_inno + ;; + *) + echo "ERROR: Platform $SYSTEM not supported!" + exit + ;; + esac + + # convert into absolute path cd `echo $0 | sed 's|(.*)/.*$|\1|'`/../.. *************** *** 18,32 **** ${auto_build_root_dir}/
- BUILD_DIR=. - if [ "$SYSTEM" == "Linux" ]; then - BUILD_DIR=linux_make - fi - if [ "$SYSTEM" == "Darwin" ]; then - BUILD_DIR=darwin_app - fi - if [ "`echo $SYSTEM | sed -n 's|(MINGW)|\1|p'`" == "MINGW" ]; then - BUILD_DIR=win32_inno - fi - cd "${auto_build_root_dir}/packages/$BUILD_DIR" make -C "${auto_build_root_dir}/packages" patch_pd --- 39,42 ---- *************** *** 49,60 **** }
! if [ "$SYSTEM" == "Linux" ]; then ! upload_build linux_make build tar.bz2 ! fi ! if [ "$SYSTEM" == "Darwin" ]; then ! upload_build darwin_app . dmg ! fi ! if [ "`echo $SYSTEM | sed -n 's|(MINGW)|\1|p'`" == "MINGW" ]; then ! upload_build win32_inno Output exe ! fi
--- 59,74 ---- }
! ! case $SYSTEM in ! Linux) ! upload_build linux_make build tar.bz2 ! ;; ! Darwin) ! upload_build darwin_app . dmg ! ;; ! MINGW*) ! CYGWIN*) ! upload_build win32_inno Output exe ! ;; ! esac