~ubuntu-branches/ubuntu/natty/pd-zexy/natty

« back to all changes in this revision

Viewing changes to z_install.bat

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard, IOhannes m zmölnig, Jonas Smedegaard
  • Date: 2010-08-20 12:17:41 UTC
  • mfrom: (2.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100820121741-4kxozn8b9rhee9fr
Tags: 2.2.3-1
* New upstream version

[ IOhannes m zmölnig ]
* Adopt package, on behalf of Multimedia Team.
  Closes: #546964
* Simply debian/rules with CDBS, and don't unconditionally strip
  binaries.
  Closes: #437763
* Install into /usr/lib/pd/extra/zexy/. Document usage in REAME.Debian
  and warn about change in NEWS.
* git'ify package. Add Vcs-* stanzas to control file.
* Use dpkg source format 3.0 (quilt). Drop build-dependency on quilt.

[ Jonas Smedegaard ]
* Enable CDBS copyright-check routine.
* Add copyright and licensing header to debian/rules.
* Add myself as uploader.
* Rewrite debian/copyright using rev. 135 of draft DEP5 format.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
@echo off
 
2
REM ==============================================
 
3
REM adapt the following to your needs
 
4
REM ==============================================
 
5
 
 
6
REM where does PD reside ??
 
7
REM if you want spaces in the path, please use quotes ("")
 
8
set PDPATH="%PROGRAMFILES%\pd"
 
9
 
 
10
REM which pd-version do we have ?
 
11
set PDVERSION=0.38
 
12
 
 
13
 
 
14
 
 
15
 
 
16
 
 
17
 
 
18
 
 
19
 
 
20
 
 
21
REM ==============================================
 
22
REM do not edit below this line !!!
 
23
REM ==============================================
 
24
 
 
25
echo :
 
26
echo : installing zexy on your system
 
27
echo :
 
28
echo : assuming that PD-version is at least %PDVERSION%
 
29
echo : assuming that PD is installed at %PDPATH%
 
30
echo :
 
31
echo : if this is correct, hit [return] to proceed
 
32
echo : if this is incorrect, stop this programm ([Ctrl]-C), edit 'z_install.bat' to your needs and rerun
 
33
echo :
 
34
pause
 
35
 
 
36
 
 
37
IF NOT EXIST %PDPATH%\bin\pd.exe goto location_error
 
38
 
 
39
set BINPATH=extra
 
40
set REFPATH=extra\zexy
 
41
 
 
42
if %PDVERSION% LSS 0.37 set REFPATH=doc\5.reference\zexy
 
43
 
 
44
echo Copying binary...
 
45
copy zexy.dll %PDPATH%\%BINPATH% > tempInstall.trash
 
46
 
 
47
echo copying help files
 
48
mkdir %PDPATH%\%REFPATH%
 
49
copy reference\* %PDPATH%\%REFPATH% > tempInstall.trash
 
50
 
 
51
echo copying abstractions
 
52
copy abs\*.pd %PDPATH%\%BINPATH% > tempInstall.trash
 
53
 
 
54
echo : done
 
55
echo : dont forget to load zexy on startup...
 
56
echo : have fun
 
57
 
 
58
 
 
59
 
 
60
goto end
 
61
 
 
62
:location_error
 
63
echo :
 
64
echo : i believe i am in the wrong directory
 
65
echo : i thought that the pd-executable would be %PDPATH%\bin\pd.exe
 
66
echo : obviously it is not !!!
 
67
echo : please edit this file and set the PDPATH-variable apropriatly
 
68
echo :
 
69
echo : stopping installation
 
70
echo :
 
71
 
 
72
:end
 
73
pause