From 31c095f7a24cd09f7c776406b07a3fb07aac687d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Mon, 4 Apr 2005 16:58:01 +0000 Subject: better (but untested) installation script svn path=/trunk/externals/zexy/; revision=2677 --- z_install.bat | 47 ++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 42 insertions(+), 5 deletions(-) diff --git a/z_install.bat b/z_install.bat index 93acbad..985f0d6 100644 --- a/z_install.bat +++ b/z_install.bat @@ -1,13 +1,50 @@ @echo off +REM ============================================== +REM adapt the following to your needs +REM ============================================== + +REM where does PD reside ?? +REM if you want spaces in the path, please use quotes ("") +set PDPATH=C:\programme\pd + +REM which pd-version do we have ? +set PDVERSION=0.37 + +REM ============================================== +REM do not edit below this line !!! +REM ============================================== + + echo installing zexy on your system -mkdir ..\extra -copy zexy.dll ..\extra +IF NOT EXIST %PDPATH%\bin\pd.exe goto location_error + +set BINPATH=extra +set REFPATH=extra\help-zexy + +if %PDVERSION% LSS 0.37 set REFPATH=doc\5.reference\zexy + +echo Copying binary... +copy zexy.dll %PDPATH%\%BINPATH% > tempInstall.trash echo copying help files -mkdir ..\extra\help-zexy -copy examples\* ..\extra\help-zexy +mkdir %PDPATH%\%REFPATH% +copy examples\* %PDPATH%\%REFPATH% echo copying abstractions -copy abs\*.pd ..\extra +copy abs\*.pd %PDPATH\%BINPATH% echo done +goto end + +:location_error +echo : +echo : i believe i am in the wrong directory +echo : i thought that the pd-executable would be %PDPATH%\bin\pd.exe +echo : obviously it is not !!! +echo : please edit this file and set the PDPATH-variable apropriatly +echo : +echo : stopping installation +echo : + +:end +pause -- cgit v1.2.1