aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Prebuild/scripts
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-09-11 01:13:08 +0100
committerJustin Clark-Casey (justincc)2010-09-11 01:13:08 +0100
commit7e65590a55ba575d0086bdfc25addaf1051d799b (patch)
tree1dc11683170d45d80d7aab6eefdfcc836d3e773b /Prebuild/scripts
parentMake it clear that the "create region" command will reference ini files in th... (diff)
downloadopensim-SC_OLD-7e65590a55ba575d0086bdfc25addaf1051d799b.zip
opensim-SC_OLD-7e65590a55ba575d0086bdfc25addaf1051d799b.tar.gz
opensim-SC_OLD-7e65590a55ba575d0086bdfc25addaf1051d799b.tar.bz2
opensim-SC_OLD-7e65590a55ba575d0086bdfc25addaf1051d799b.tar.xz
Update Prebuild.exe with Prebuild r323 + an existing OpenSim specific nant hack to correctly clean up chosen OpenSim exes and dlls in bin/ on a "nant clean"
Source code is included for reference. This can go away again once Prebuild is updated with a more general mechanism for cleaning up files. The Prebuild source code here can be built with nant, or regnerated for other tools using the prebuild at {root}/bin/Prebuild.exe
Diffstat (limited to 'Prebuild/scripts')
-rw-r--r--Prebuild/scripts/.svn/all-wcprops125
-rw-r--r--Prebuild/scripts/.svn/dir-prop-base6
-rw-r--r--Prebuild/scripts/.svn/entries708
-rw-r--r--Prebuild/scripts/.svn/prop-base/Clean.bat.svn-base13
-rw-r--r--Prebuild/scripts/.svn/prop-base/Clean.sh.svn-base9
-rw-r--r--Prebuild/scripts/.svn/prop-base/Help.bat.svn-base13
-rw-r--r--Prebuild/scripts/.svn/prop-base/MonoDevelop.sh.svn-base13
-rw-r--r--Prebuild/scripts/.svn/prop-base/Prebuild.nsi.svn-base9
-rw-r--r--Prebuild/scripts/.svn/prop-base/SharpDevelop.bat.svn-base13
-rw-r--r--Prebuild/scripts/.svn/prop-base/SharpDevelop2.bat.svn-base5
-rw-r--r--Prebuild/scripts/.svn/prop-base/VS2002.bat.svn-base13
-rw-r--r--Prebuild/scripts/.svn/prop-base/VS2003.bat.svn-base13
-rw-r--r--Prebuild/scripts/.svn/prop-base/VS2005.bat.svn-base13
-rw-r--r--Prebuild/scripts/.svn/prop-base/VS2008.bat.svn-base5
-rw-r--r--Prebuild/scripts/.svn/prop-base/autotools.bat.svn-base5
-rw-r--r--Prebuild/scripts/.svn/prop-base/autotools.sh.svn-base5
-rw-r--r--Prebuild/scripts/.svn/prop-base/makefile.bat.svn-base9
-rw-r--r--Prebuild/scripts/.svn/prop-base/makefile.sh.svn-base9
-rw-r--r--Prebuild/scripts/.svn/prop-base/nant.bat.svn-base13
-rw-r--r--Prebuild/scripts/.svn/prop-base/nant.sh.svn-base13
-rw-r--r--Prebuild/scripts/.svn/prop-base/xcode.bat.svn-base9
-rw-r--r--Prebuild/scripts/.svn/prop-base/xcode.sh.svn-base9
-rw-r--r--Prebuild/scripts/.svn/text-base/Clean.bat.svn-base2
-rw-r--r--Prebuild/scripts/.svn/text-base/Clean.sh.svn-base4
-rw-r--r--Prebuild/scripts/.svn/text-base/Help.bat.svn-base2
-rw-r--r--Prebuild/scripts/.svn/text-base/MonoDevelop.sh.svn-base2
-rw-r--r--Prebuild/scripts/.svn/text-base/Prebuild.nsi.svn-base231
-rw-r--r--Prebuild/scripts/.svn/text-base/SharpDevelop.bat.svn-base4
-rw-r--r--Prebuild/scripts/.svn/text-base/SharpDevelop2.bat.svn-base4
-rw-r--r--Prebuild/scripts/.svn/text-base/VS2002.bat.svn-base4
-rw-r--r--Prebuild/scripts/.svn/text-base/VS2003.bat.svn-base4
-rw-r--r--Prebuild/scripts/.svn/text-base/VS2005.bat.svn-base4
-rw-r--r--Prebuild/scripts/.svn/text-base/VS2008.bat.svn-base4
-rw-r--r--Prebuild/scripts/.svn/text-base/VS2010.bat.svn-base4
-rw-r--r--Prebuild/scripts/.svn/text-base/autotools.bat.svn-base4
-rw-r--r--Prebuild/scripts/.svn/text-base/autotools.sh.svn-base5
-rw-r--r--Prebuild/scripts/.svn/text-base/makefile.bat.svn-base4
-rw-r--r--Prebuild/scripts/.svn/text-base/makefile.sh.svn-base10
-rw-r--r--Prebuild/scripts/.svn/text-base/nant.bat.svn-base4
-rw-r--r--Prebuild/scripts/.svn/text-base/nant.sh.svn-base2
-rw-r--r--Prebuild/scripts/.svn/text-base/xcode.bat.svn-base4
-rw-r--r--Prebuild/scripts/.svn/text-base/xcode.sh.svn-base2
-rwxr-xr-xPrebuild/scripts/Clean.bat2
-rwxr-xr-xPrebuild/scripts/Clean.sh4
-rwxr-xr-xPrebuild/scripts/Help.bat2
-rwxr-xr-xPrebuild/scripts/MonoDevelop.sh2
-rw-r--r--Prebuild/scripts/Prebuild.nsi231
-rwxr-xr-xPrebuild/scripts/SharpDevelop.bat4
-rwxr-xr-xPrebuild/scripts/SharpDevelop2.bat4
-rwxr-xr-xPrebuild/scripts/VS2002.bat4
-rwxr-xr-xPrebuild/scripts/VS2003.bat4
-rwxr-xr-xPrebuild/scripts/VS2005.bat4
-rwxr-xr-xPrebuild/scripts/VS2008.bat4
-rw-r--r--Prebuild/scripts/VS2010.bat4
-rwxr-xr-xPrebuild/scripts/autotools.bat4
-rwxr-xr-xPrebuild/scripts/autotools.sh5
-rwxr-xr-xPrebuild/scripts/makefile.bat4
-rwxr-xr-xPrebuild/scripts/makefile.sh10
-rwxr-xr-xPrebuild/scripts/nant.bat4
-rwxr-xr-xPrebuild/scripts/nant.sh2
-rwxr-xr-xPrebuild/scripts/xcode.bat4
-rwxr-xr-xPrebuild/scripts/xcode.sh2
62 files changed, 1638 insertions, 0 deletions
diff --git a/Prebuild/scripts/.svn/all-wcprops b/Prebuild/scripts/.svn/all-wcprops
new file mode 100644
index 0000000..b59b6a2
--- /dev/null
+++ b/Prebuild/scripts/.svn/all-wcprops
@@ -0,0 +1,125 @@
1K 25
2svn:wc:ra_dav:version-url
3V 49
4/svnroot/dnpb/!svn/ver/316/trunk/Prebuild/scripts
5END
6makefile.bat
7K 25
8svn:wc:ra_dav:version-url
9V 62
10/svnroot/dnpb/!svn/ver/240/trunk/Prebuild/scripts/makefile.bat
11END
12SharpDevelop2.bat
13K 25
14svn:wc:ra_dav:version-url
15V 67
16/svnroot/dnpb/!svn/ver/205/trunk/Prebuild/scripts/SharpDevelop2.bat
17END
18makefile.sh
19K 25
20svn:wc:ra_dav:version-url
21V 61
22/svnroot/dnpb/!svn/ver/240/trunk/Prebuild/scripts/makefile.sh
23END
24Clean.bat
25K 25
26svn:wc:ra_dav:version-url
27V 59
28/svnroot/dnpb/!svn/ver/205/trunk/Prebuild/scripts/Clean.bat
29END
30Clean.sh
31K 25
32svn:wc:ra_dav:version-url
33V 58
34/svnroot/dnpb/!svn/ver/240/trunk/Prebuild/scripts/Clean.sh
35END
36Help.bat
37K 25
38svn:wc:ra_dav:version-url
39V 58
40/svnroot/dnpb/!svn/ver/205/trunk/Prebuild/scripts/Help.bat
41END
42autotools.bat
43K 25
44svn:wc:ra_dav:version-url
45V 63
46/svnroot/dnpb/!svn/ver/205/trunk/Prebuild/scripts/autotools.bat
47END
48Prebuild.nsi
49K 25
50svn:wc:ra_dav:version-url
51V 62
52/svnroot/dnpb/!svn/ver/116/trunk/Prebuild/scripts/Prebuild.nsi
53END
54VS2010.bat
55K 25
56svn:wc:ra_dav:version-url
57V 60
58/svnroot/dnpb/!svn/ver/316/trunk/Prebuild/scripts/VS2010.bat
59END
60MonoDevelop.sh
61K 25
62svn:wc:ra_dav:version-url
63V 64
64/svnroot/dnpb/!svn/ver/205/trunk/Prebuild/scripts/MonoDevelop.sh
65END
66VS2002.bat
67K 25
68svn:wc:ra_dav:version-url
69V 60
70/svnroot/dnpb/!svn/ver/205/trunk/Prebuild/scripts/VS2002.bat
71END
72SharpDevelop.bat
73K 25
74svn:wc:ra_dav:version-url
75V 66
76/svnroot/dnpb/!svn/ver/205/trunk/Prebuild/scripts/SharpDevelop.bat
77END
78autotools.sh
79K 25
80svn:wc:ra_dav:version-url
81V 62
82/svnroot/dnpb/!svn/ver/256/trunk/Prebuild/scripts/autotools.sh
83END
84VS2003.bat
85K 25
86svn:wc:ra_dav:version-url
87V 60
88/svnroot/dnpb/!svn/ver/196/trunk/Prebuild/scripts/VS2003.bat
89END
90VS2005.bat
91K 25
92svn:wc:ra_dav:version-url
93V 60
94/svnroot/dnpb/!svn/ver/205/trunk/Prebuild/scripts/VS2005.bat
95END
96nant.bat
97K 25
98svn:wc:ra_dav:version-url
99V 58
100/svnroot/dnpb/!svn/ver/205/trunk/Prebuild/scripts/nant.bat
101END
102VS2008.bat
103K 25
104svn:wc:ra_dav:version-url
105V 60
106/svnroot/dnpb/!svn/ver/288/trunk/Prebuild/scripts/VS2008.bat
107END
108xcode.bat
109K 25
110svn:wc:ra_dav:version-url
111V 59
112/svnroot/dnpb/!svn/ver/240/trunk/Prebuild/scripts/xcode.bat
113END
114nant.sh
115K 25
116svn:wc:ra_dav:version-url
117V 57
118/svnroot/dnpb/!svn/ver/205/trunk/Prebuild/scripts/nant.sh
119END
120xcode.sh
121K 25
122svn:wc:ra_dav:version-url
123V 58
124/svnroot/dnpb/!svn/ver/240/trunk/Prebuild/scripts/xcode.sh
125END
diff --git a/Prebuild/scripts/.svn/dir-prop-base b/Prebuild/scripts/.svn/dir-prop-base
new file mode 100644
index 0000000..48246b7
--- /dev/null
+++ b/Prebuild/scripts/.svn/dir-prop-base
@@ -0,0 +1,6 @@
1K 10
2svn:ignore
3V 12
4*.cmbx
5*.swp
6END
diff --git a/Prebuild/scripts/.svn/entries b/Prebuild/scripts/.svn/entries
new file mode 100644
index 0000000..ee476a5
--- /dev/null
+++ b/Prebuild/scripts/.svn/entries
@@ -0,0 +1,708 @@
110
2
3dir
4323
5https://dnpb.svn.sourceforge.net/svnroot/dnpb/trunk/Prebuild/scripts
6https://dnpb.svn.sourceforge.net/svnroot/dnpb
7
8
9
102010-05-08T05:43:01.449559Z
11316
12jhurliman
13has-props
14
15
16
17
18
19
20
21
22
23
24
25
26
273355ff64-970d-0410-bbe8-d0fbd18be4fb
28
29makefile.bat
30file
31
32
33
34
352010-09-10T22:51:44.000000Z
36f6d151aad764b5bdb4113a119c9f3750
372007-05-08T15:42:58.740059Z
38240
39jendave
40has-props
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61102
62
63SharpDevelop2.bat
64file
65
66
67
68
692010-09-10T22:51:44.000000Z
70432bf7063141f24bcc4e4a13ede3b6cf
712007-02-13T20:58:03.716560Z
72205
73jendave
74has-props
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95210
96
97makefile.sh
98file
99
100
101
102
1032010-09-10T22:51:44.000000Z
10470db5cccbafa4f0019d3d9e0fbb6d884
1052007-05-08T15:42:58.740059Z
106240
107jendave
108has-props
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129155
130
131Clean.bat
132file
133
134
135
136
1372010-09-10T22:51:44.000000Z
138f33b6d088290350f0d7cbc44e6c26854
1392007-02-13T20:58:03.716560Z
140205
141jendave
142has-props
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
16387
164
165Clean.sh
166file
167
168
169
170
1712010-09-10T22:51:44.000000Z
1720d402c1dc3ba5fa92a22721ee7faf47c
1732007-05-08T15:42:58.740059Z
174240
175jendave
176has-props
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
19792
198
199Help.bat
200file
201
202
203
204
2052010-09-10T22:51:44.000000Z
206237f9b0bc08ef577209cf7119efbd456
2072007-02-13T20:58:03.716560Z
208205
209jendave
210has-props
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
23132
232
233autotools.bat
234file
235
236
237
238
2392010-09-10T22:51:44.000000Z
2403604bb1d38df33793e62c25e08362f59
2412007-02-13T20:58:03.716560Z
242205
243jendave
244has-props
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265112
266
267Prebuild.nsi
268file
269
270
271
272
2732010-09-10T22:51:44.000000Z
274572ab49b75b83aece148667c55cb800b
2752006-06-28T00:12:05.085067Z
276116
277jendave
278has-props
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
2996208
300
301VS2010.bat
302file
303
304
305
306
3072010-09-10T22:51:44.000000Z
308f6f61e3b45a19c4c011c9143da1ab274
3092010-05-08T05:43:01.449559Z
310316
311jhurliman
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333192
334
335MonoDevelop.sh
336file
337
338
339
340
3412010-09-10T22:51:44.000000Z
3421499f30edeaae42e200fa27a7c605fba
3432007-02-13T20:58:03.716560Z
344205
345jendave
346has-props
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
36779
368
369VS2002.bat
370file
371
372
373
374
3752010-09-10T22:51:44.000000Z
3763ebbd6c68560aaf1ec9089cdd64f5fcd
3772007-02-13T20:58:03.716560Z
378205
379jendave
380has-props
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401189
402
403SharpDevelop.bat
404file
405
406
407
408
4092010-09-10T22:51:44.000000Z
41068ebe8c542c03966bf15bfae465c6616
4112007-02-13T20:58:03.716560Z
412205
413jendave
414has-props
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435220
436
437autotools.sh
438file
439
440
441
442
4432010-09-10T22:51:44.000000Z
4443e82233011b4b61378fdfafec75105c3
4452008-02-07T16:31:29.630257Z
446256
447cjcollier
448has-props
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469163
470
471VS2003.bat
472file
473
474
475
476
4772010-09-10T22:51:44.000000Z
478d98909ce1a987763796c2d51bd51e861
4792006-12-30T09:17:33.472696Z
480196
481jendave
482has-props
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503189
504
505VS2005.bat
506file
507
508
509
510
5112010-09-10T22:51:44.000000Z
5123a9c76a2bc4a7b72dacb5f9080b212a4
5132007-02-13T20:58:03.716560Z
514205
515jendave
516has-props
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537203
538
539nant.bat
540file
541
542
543
544
5452010-09-10T22:51:44.000000Z
546b42b576139291f54b283c4e557f02140
5472007-02-13T20:58:03.716560Z
548205
549jendave
550has-props
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571103
572
573VS2008.bat
574file
575
576
577
578
5792010-09-10T22:51:44.000000Z
580b239b3d67274fdac817fa0b41864bb01
5812009-02-09T18:52:49.114435Z
582288
583diakopter
584has-props
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605192
606
607xcode.bat
608file
609
610
611
612
6132010-09-10T22:51:44.000000Z
614adbdd25e0777620fafc9d087142d0747
6152007-05-08T15:42:58.740059Z
616240
617jendave
618has-props
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639103
640
641nant.sh
642file
643
644
645
646
6472010-09-10T22:51:44.000000Z
64894a22105b89b89938829d63f70a628dc
6492007-02-13T20:58:03.716560Z
650205
651jendave
652has-props
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
67361
674
675xcode.sh
676file
677
678
679
680
6812010-09-10T22:51:44.000000Z
6827f7b529278d58af6d9313e2a93f7f296
6832007-05-08T15:42:58.740059Z
684240
685jendave
686has-props
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
70762
708
diff --git a/Prebuild/scripts/.svn/prop-base/Clean.bat.svn-base b/Prebuild/scripts/.svn/prop-base/Clean.bat.svn-base
new file mode 100644
index 0000000..5336d10
--- /dev/null
+++ b/Prebuild/scripts/.svn/prop-base/Clean.bat.svn-base
@@ -0,0 +1,13 @@
1K 13
2svn:eol-style
3V 6
4native
5K 14
6svn:executable
7V 1
8*
9K 12
10svn:keywords
11V 23
12Author Date Id Revision
13END
diff --git a/Prebuild/scripts/.svn/prop-base/Clean.sh.svn-base b/Prebuild/scripts/.svn/prop-base/Clean.sh.svn-base
new file mode 100644
index 0000000..03b5bfa
--- /dev/null
+++ b/Prebuild/scripts/.svn/prop-base/Clean.sh.svn-base
@@ -0,0 +1,9 @@
1K 13
2svn:eol-style
3V 6
4native
5K 14
6svn:executable
7V 1
8*
9END
diff --git a/Prebuild/scripts/.svn/prop-base/Help.bat.svn-base b/Prebuild/scripts/.svn/prop-base/Help.bat.svn-base
new file mode 100644
index 0000000..5336d10
--- /dev/null
+++ b/Prebuild/scripts/.svn/prop-base/Help.bat.svn-base
@@ -0,0 +1,13 @@
1K 13
2svn:eol-style
3V 6
4native
5K 14
6svn:executable
7V 1
8*
9K 12
10svn:keywords
11V 23
12Author Date Id Revision
13END
diff --git a/Prebuild/scripts/.svn/prop-base/MonoDevelop.sh.svn-base b/Prebuild/scripts/.svn/prop-base/MonoDevelop.sh.svn-base
new file mode 100644
index 0000000..5336d10
--- /dev/null
+++ b/Prebuild/scripts/.svn/prop-base/MonoDevelop.sh.svn-base
@@ -0,0 +1,13 @@
1K 13
2svn:eol-style
3V 6
4native
5K 14
6svn:executable
7V 1
8*
9K 12
10svn:keywords
11V 23
12Author Date Id Revision
13END
diff --git a/Prebuild/scripts/.svn/prop-base/Prebuild.nsi.svn-base b/Prebuild/scripts/.svn/prop-base/Prebuild.nsi.svn-base
new file mode 100644
index 0000000..7b57b30
--- /dev/null
+++ b/Prebuild/scripts/.svn/prop-base/Prebuild.nsi.svn-base
@@ -0,0 +1,9 @@
1K 13
2svn:eol-style
3V 6
4native
5K 12
6svn:keywords
7V 23
8Author Date Id Revision
9END
diff --git a/Prebuild/scripts/.svn/prop-base/SharpDevelop.bat.svn-base b/Prebuild/scripts/.svn/prop-base/SharpDevelop.bat.svn-base
new file mode 100644
index 0000000..5336d10
--- /dev/null
+++ b/Prebuild/scripts/.svn/prop-base/SharpDevelop.bat.svn-base
@@ -0,0 +1,13 @@
1K 13
2svn:eol-style
3V 6
4native
5K 14
6svn:executable
7V 1
8*
9K 12
10svn:keywords
11V 23
12Author Date Id Revision
13END
diff --git a/Prebuild/scripts/.svn/prop-base/SharpDevelop2.bat.svn-base b/Prebuild/scripts/.svn/prop-base/SharpDevelop2.bat.svn-base
new file mode 100644
index 0000000..869ac71
--- /dev/null
+++ b/Prebuild/scripts/.svn/prop-base/SharpDevelop2.bat.svn-base
@@ -0,0 +1,5 @@
1K 14
2svn:executable
3V 1
4*
5END
diff --git a/Prebuild/scripts/.svn/prop-base/VS2002.bat.svn-base b/Prebuild/scripts/.svn/prop-base/VS2002.bat.svn-base
new file mode 100644
index 0000000..5336d10
--- /dev/null
+++ b/Prebuild/scripts/.svn/prop-base/VS2002.bat.svn-base
@@ -0,0 +1,13 @@
1K 13
2svn:eol-style
3V 6
4native
5K 14
6svn:executable
7V 1
8*
9K 12
10svn:keywords
11V 23
12Author Date Id Revision
13END
diff --git a/Prebuild/scripts/.svn/prop-base/VS2003.bat.svn-base b/Prebuild/scripts/.svn/prop-base/VS2003.bat.svn-base
new file mode 100644
index 0000000..5336d10
--- /dev/null
+++ b/Prebuild/scripts/.svn/prop-base/VS2003.bat.svn-base
@@ -0,0 +1,13 @@
1K 13
2svn:eol-style
3V 6
4native
5K 14
6svn:executable
7V 1
8*
9K 12
10svn:keywords
11V 23
12Author Date Id Revision
13END
diff --git a/Prebuild/scripts/.svn/prop-base/VS2005.bat.svn-base b/Prebuild/scripts/.svn/prop-base/VS2005.bat.svn-base
new file mode 100644
index 0000000..5336d10
--- /dev/null
+++ b/Prebuild/scripts/.svn/prop-base/VS2005.bat.svn-base
@@ -0,0 +1,13 @@
1K 13
2svn:eol-style
3V 6
4native
5K 14
6svn:executable
7V 1
8*
9K 12
10svn:keywords
11V 23
12Author Date Id Revision
13END
diff --git a/Prebuild/scripts/.svn/prop-base/VS2008.bat.svn-base b/Prebuild/scripts/.svn/prop-base/VS2008.bat.svn-base
new file mode 100644
index 0000000..869ac71
--- /dev/null
+++ b/Prebuild/scripts/.svn/prop-base/VS2008.bat.svn-base
@@ -0,0 +1,5 @@
1K 14
2svn:executable
3V 1
4*
5END
diff --git a/Prebuild/scripts/.svn/prop-base/autotools.bat.svn-base b/Prebuild/scripts/.svn/prop-base/autotools.bat.svn-base
new file mode 100644
index 0000000..869ac71
--- /dev/null
+++ b/Prebuild/scripts/.svn/prop-base/autotools.bat.svn-base
@@ -0,0 +1,5 @@
1K 14
2svn:executable
3V 1
4*
5END
diff --git a/Prebuild/scripts/.svn/prop-base/autotools.sh.svn-base b/Prebuild/scripts/.svn/prop-base/autotools.sh.svn-base
new file mode 100644
index 0000000..869ac71
--- /dev/null
+++ b/Prebuild/scripts/.svn/prop-base/autotools.sh.svn-base
@@ -0,0 +1,5 @@
1K 14
2svn:executable
3V 1
4*
5END
diff --git a/Prebuild/scripts/.svn/prop-base/makefile.bat.svn-base b/Prebuild/scripts/.svn/prop-base/makefile.bat.svn-base
new file mode 100644
index 0000000..03b5bfa
--- /dev/null
+++ b/Prebuild/scripts/.svn/prop-base/makefile.bat.svn-base
@@ -0,0 +1,9 @@
1K 13
2svn:eol-style
3V 6
4native
5K 14
6svn:executable
7V 1
8*
9END
diff --git a/Prebuild/scripts/.svn/prop-base/makefile.sh.svn-base b/Prebuild/scripts/.svn/prop-base/makefile.sh.svn-base
new file mode 100644
index 0000000..03b5bfa
--- /dev/null
+++ b/Prebuild/scripts/.svn/prop-base/makefile.sh.svn-base
@@ -0,0 +1,9 @@
1K 13
2svn:eol-style
3V 6
4native
5K 14
6svn:executable
7V 1
8*
9END
diff --git a/Prebuild/scripts/.svn/prop-base/nant.bat.svn-base b/Prebuild/scripts/.svn/prop-base/nant.bat.svn-base
new file mode 100644
index 0000000..5336d10
--- /dev/null
+++ b/Prebuild/scripts/.svn/prop-base/nant.bat.svn-base
@@ -0,0 +1,13 @@
1K 13
2svn:eol-style
3V 6
4native
5K 14
6svn:executable
7V 1
8*
9K 12
10svn:keywords
11V 23
12Author Date Id Revision
13END
diff --git a/Prebuild/scripts/.svn/prop-base/nant.sh.svn-base b/Prebuild/scripts/.svn/prop-base/nant.sh.svn-base
new file mode 100644
index 0000000..5336d10
--- /dev/null
+++ b/Prebuild/scripts/.svn/prop-base/nant.sh.svn-base
@@ -0,0 +1,13 @@
1K 13
2svn:eol-style
3V 6
4native
5K 14
6svn:executable
7V 1
8*
9K 12
10svn:keywords
11V 23
12Author Date Id Revision
13END
diff --git a/Prebuild/scripts/.svn/prop-base/xcode.bat.svn-base b/Prebuild/scripts/.svn/prop-base/xcode.bat.svn-base
new file mode 100644
index 0000000..03b5bfa
--- /dev/null
+++ b/Prebuild/scripts/.svn/prop-base/xcode.bat.svn-base
@@ -0,0 +1,9 @@
1K 13
2svn:eol-style
3V 6
4native
5K 14
6svn:executable
7V 1
8*
9END
diff --git a/Prebuild/scripts/.svn/prop-base/xcode.sh.svn-base b/Prebuild/scripts/.svn/prop-base/xcode.sh.svn-base
new file mode 100644
index 0000000..03b5bfa
--- /dev/null
+++ b/Prebuild/scripts/.svn/prop-base/xcode.sh.svn-base
@@ -0,0 +1,9 @@
1K 13
2svn:eol-style
3V 6
4native
5K 14
6svn:executable
7V 1
8*
9END
diff --git a/Prebuild/scripts/.svn/text-base/Clean.bat.svn-base b/Prebuild/scripts/.svn/text-base/Clean.bat.svn-base
new file mode 100644
index 0000000..806bbe8
--- /dev/null
+++ b/Prebuild/scripts/.svn/text-base/Clean.bat.svn-base
@@ -0,0 +1,2 @@
1cd ..
2Prebuild.exe /clean /yes /removedir obj /file prebuild.xml /build NET_2_0 /pause
diff --git a/Prebuild/scripts/.svn/text-base/Clean.sh.svn-base b/Prebuild/scripts/.svn/text-base/Clean.sh.svn-base
new file mode 100644
index 0000000..b0a6530
--- /dev/null
+++ b/Prebuild/scripts/.svn/text-base/Clean.sh.svn-base
@@ -0,0 +1,4 @@
1#!/bin/sh
2
3./prebuild /clean /removedir obj /file ../prebuild.xml /pause
4rm -rf ../Makefile
diff --git a/Prebuild/scripts/.svn/text-base/Help.bat.svn-base b/Prebuild/scripts/.svn/text-base/Help.bat.svn-base
new file mode 100644
index 0000000..7c843c4
--- /dev/null
+++ b/Prebuild/scripts/.svn/text-base/Help.bat.svn-base
@@ -0,0 +1,2 @@
1cd ..
2Prebuild.exe /usage /pause \ No newline at end of file
diff --git a/Prebuild/scripts/.svn/text-base/MonoDevelop.sh.svn-base b/Prebuild/scripts/.svn/text-base/MonoDevelop.sh.svn-base
new file mode 100644
index 0000000..fbd7669
--- /dev/null
+++ b/Prebuild/scripts/.svn/text-base/MonoDevelop.sh.svn-base
@@ -0,0 +1,2 @@
1#!/bin/sh
2prebuild /target monodev /file ../prebuild.xml /build NET_1_1 /pause
diff --git a/Prebuild/scripts/.svn/text-base/Prebuild.nsi.svn-base b/Prebuild/scripts/.svn/text-base/Prebuild.nsi.svn-base
new file mode 100644
index 0000000..8f9854e
--- /dev/null
+++ b/Prebuild/scripts/.svn/text-base/Prebuild.nsi.svn-base
@@ -0,0 +1,231 @@
1!verbose 3
2
3!define PRODUCT_NAME "Prebuild"
4!define PRODUCT_VERSION "1.3.1"
5!define PRODUCT_PUBLISHER "Prebuild"
6!define PRODUCT_PACKAGE "prebuild"
7!define PRODUCT_WEB_SITE "http://dnpb.sourceforge.net"
8!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\Prebuild"
9!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\Prebuild"
10!define PRODUCT_UNINST_ROOT_KEY "HKLM"
11!define PRODUCT_PATH ".."
12
13;!define MUI_WELCOMEFINISHPAGE_BITMAP "PrebuildLogo.bmp"
14;!define MUI_WELCOMEFINISHPAGE_BITMAP_NOSTRETCH
15;!define MUI_UNWELCOMEFINISHPAGE_BITMAP "PrebuildLogo.bmp"
16;!define MUI_UNWELCOMEFINISHPAGE_BITMAP_NOSTRETCH
17
18BrandingText "© 2003-2006 David Hudson, http://dnpb.sourceforge.net/"
19SetCompressor lzma
20CRCCheck on
21
22; File Association defines
23;!include "fileassoc.nsh"
24
25; MUI 1.67 compatible ------
26!include "MUI.nsh"
27
28; MUI Settings
29!define MUI_ABORTWARNING
30!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico"
31!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"
32
33;--------------------------------
34;Variables
35
36;--------------------------------
37;Installer Pages
38
39; Welcome page
40!insertmacro MUI_PAGE_WELCOME
41; License page
42!insertmacro MUI_PAGE_LICENSE "..\doc\license.txt"
43; Directory page
44!insertmacro MUI_PAGE_DIRECTORY
45
46; Instfiles page
47!insertmacro MUI_PAGE_INSTFILES
48
49; Finish page
50!insertmacro MUI_PAGE_FINISH
51
52;------------------------------------
53; Uninstaller pages
54!insertmacro MUI_UNPAGE_CONFIRM
55!insertmacro MUI_UNPAGE_INSTFILES
56!insertmacro MUI_UNPAGE_FINISH
57;------------------------------------
58
59; Language files
60!insertmacro MUI_LANGUAGE "English"
61
62; Reserve files
63!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS
64
65; MUI end ------
66
67Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
68OutFile "..\${PRODUCT_PACKAGE}-${PRODUCT_VERSION}-setup.exe"
69InstallDir "$PROGRAMFILES\Prebuild"
70InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
71ShowInstDetails show
72ShowUnInstDetails show
73
74; .NET Framework check
75; http://msdn.microsoft.com/netframework/default.aspx?pull=/library/en-us/dnnetdep/html/redistdeploy1_1.asp
76; Section "Detecting that the .NET Framework 1.1 is installed"
77Function .onInit
78 ReadRegDWORD $R0 HKLM "SOFTWARE\Microsoft\NET Framework Setup\NDP\v1.1.4322" Install
79 StrCmp $R0 "" 0 CheckPreviousVersion
80 MessageBox MB_OK "Microsoft .NET Framework 1.1 was not found on this system.$\r$\n$\r$\nUnable to continue this installation."
81 Abort
82
83 CheckPreviousVersion:
84 ReadRegStr $R0 ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName"
85 StrCmp $R0 "" CheckOSVersion 0
86 MessageBox MB_OK "An old version of Prebuild is installed on this computer, please uninstall first.$\r$\n$\r$\nUnable to continue this installation."
87 Abort
88
89 CheckOSVersion:
90 Call IsSupportedWindowsVersion
91 Pop $R0
92 StrCmp $R0 "False" NoAbort 0
93 MessageBox MB_OK "The operating system you are using is not supported by Prebuild (95/98/ME/NT3.x/NT4.x)."
94 Abort
95
96 NoAbort:
97FunctionEnd
98
99Section "Source" SecSource
100 SetOverwrite ifnewer
101 SetOutPath "$INSTDIR\src"
102 File /r /x *.swp /x .svn /x *.xml /x *.csproj /x *.user /x *.build /x *.prjx /x *.mdp /x bin /x obj /x *.nsi ${PRODUCT_PATH}\src\*.*
103
104 ;Store installation folder
105 WriteRegStr HKCU "Software\Prebuild" "" $INSTDIR
106
107SectionEnd
108
109Section "Runtime" SecRuntime
110 SetOverwrite ifnewer
111 SetOutPath "$INSTDIR"
112 File /r /x *.swp /x .svn /x *.nsi /x src /x *.sln /x *.cmbx /x *.mds ${PRODUCT_PATH}\Prebuild.exe ${PRODUCT_PATH}\prebuild.xml
113
114 ;Store installation folder
115 WriteRegStr HKCU "Software\Prebuild" "" $INSTDIR
116
117SectionEnd
118
119Section "Documentation" SecDocs
120 SetOverwrite ifnewer
121 SetOutPath "$INSTDIR\doc"
122 File /r /x *.swp /x .svn /x *.exe ${PRODUCT_PATH}\doc\*.*
123
124 ;Store installation folder
125 WriteRegStr HKCU "Software\Prebuild" "" $INSTDIR
126SectionEnd
127
128Section "Scripts" SecScripts
129 SetOverwrite ifnewer
130 SetOutPath "$INSTDIR\scripts"
131 File /r /x *.swp /x .svn /x *.nsi /x *.exe ${PRODUCT_PATH}\scripts\*.*
132
133 ;Store installation folder
134 WriteRegStr HKCU "Software\Prebuild" "" $INSTDIR
135SectionEnd
136
137;Language strings
138
139Section -AdditionalIcons
140 WriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}"
141SectionEnd
142
143Section -Post
144 WriteUninstaller "$INSTDIR\uninst.exe"
145 WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
146 WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"
147 WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
148 WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
149 WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
150SectionEnd
151
152Section Uninstall
153
154 DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
155 DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
156 RMDir /r "$INSTDIR"
157
158SectionEnd
159
160; GetWindowsVersion, taken from NSIS help, modified for our purposes
161Function IsSupportedWindowsVersion
162
163 Push $R0
164 Push $R1
165
166 ReadRegStr $R0 HKLM \
167 "SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion
168
169 IfErrors 0 lbl_winnt
170
171 ; we are not NT
172 ReadRegStr $R0 HKLM \
173 "SOFTWARE\Microsoft\Windows\CurrentVersion" VersionNumber
174
175 StrCpy $R1 $R0 1
176 StrCmp $R1 '4' 0 lbl_error
177
178 StrCpy $R1 $R0 3
179
180 StrCmp $R1 '4.0' lbl_win32_95
181 StrCmp $R1 '4.9' lbl_win32_ME lbl_win32_98
182
183 lbl_win32_95:
184 StrCpy $R0 'False'
185 Goto lbl_done
186
187 lbl_win32_98:
188 StrCpy $R0 'False'
189 Goto lbl_done
190
191 lbl_win32_ME:
192 StrCpy $R0 'False'
193 Goto lbl_done
194
195 lbl_winnt:
196
197 StrCpy $R1 $R0 1
198
199 StrCmp $R1 '3' lbl_winnt_x
200 StrCmp $R1 '4' lbl_winnt_x
201
202 StrCpy $R1 $R0 3
203
204 StrCmp $R1 '5.0' lbl_winnt_2000
205 StrCmp $R1 '5.1' lbl_winnt_XP
206 StrCmp $R1 '5.2' lbl_winnt_2003 lbl_error
207
208 lbl_winnt_x:
209 StrCpy $R0 'False'
210 Goto lbl_done
211
212 lbl_winnt_2000:
213 Strcpy $R0 'True'
214 Goto lbl_done
215
216 lbl_winnt_XP:
217 Strcpy $R0 'True'
218 Goto lbl_done
219
220 lbl_winnt_2003:
221 Strcpy $R0 'True'
222 Goto lbl_done
223
224 lbl_error:
225 Strcpy $R0 'False'
226 lbl_done:
227
228 Pop $R1
229 Exch $R0
230
231FunctionEnd
diff --git a/Prebuild/scripts/.svn/text-base/SharpDevelop.bat.svn-base b/Prebuild/scripts/.svn/text-base/SharpDevelop.bat.svn-base
new file mode 100644
index 0000000..08fea0b
--- /dev/null
+++ b/Prebuild/scripts/.svn/text-base/SharpDevelop.bat.svn-base
@@ -0,0 +1,4 @@
1@rem Generates a combine (.cmbx) and a set of project files (.prjx)
2@rem for SharpDevelop (http://icsharpcode.net/OpenSource/SD/Default.aspx)
3cd ..
4Prebuild.exe /target sharpdev /file prebuild.xml /build NET_1_1 /pause
diff --git a/Prebuild/scripts/.svn/text-base/SharpDevelop2.bat.svn-base b/Prebuild/scripts/.svn/text-base/SharpDevelop2.bat.svn-base
new file mode 100644
index 0000000..4ca0272
--- /dev/null
+++ b/Prebuild/scripts/.svn/text-base/SharpDevelop2.bat.svn-base
@@ -0,0 +1,4 @@
1@rem Generates a combine (.cmbx) and a set of project files (.prjx)
2@rem for SharpDevelop (http://icsharpcode.net/OpenSource/SD/Default.aspx)
3cd ..
4Prebuild.exe /target sharpdev2 /file prebuild.xml /pause
diff --git a/Prebuild/scripts/.svn/text-base/VS2002.bat.svn-base b/Prebuild/scripts/.svn/text-base/VS2002.bat.svn-base
new file mode 100644
index 0000000..dc5b6a7
--- /dev/null
+++ b/Prebuild/scripts/.svn/text-base/VS2002.bat.svn-base
@@ -0,0 +1,4 @@
1@rem Generates a solution (.sln) and a set of project files (.csproj)
2@rem for Microsoft Visual Studio .NET 2002
3cd ..
4Prebuild.exe /target vs2002 /file prebuild.xml /build NET_1_1 /pause
diff --git a/Prebuild/scripts/.svn/text-base/VS2003.bat.svn-base b/Prebuild/scripts/.svn/text-base/VS2003.bat.svn-base
new file mode 100644
index 0000000..929a480
--- /dev/null
+++ b/Prebuild/scripts/.svn/text-base/VS2003.bat.svn-base
@@ -0,0 +1,4 @@
1@rem Generates a solution (.sln) and a set of project files (.csproj)
2@rem for Microsoft Visual Studio .NET 2002
3cd ..
4Prebuild.exe /target vs2003 /file prebuild.xml /build NET_1_1 /pause
diff --git a/Prebuild/scripts/.svn/text-base/VS2005.bat.svn-base b/Prebuild/scripts/.svn/text-base/VS2005.bat.svn-base
new file mode 100644
index 0000000..7a7af1d
--- /dev/null
+++ b/Prebuild/scripts/.svn/text-base/VS2005.bat.svn-base
@@ -0,0 +1,4 @@
1@rem Generates a solution (.sln) and a set of project files (.csproj, .vbproj, etc.)
2@rem for Microsoft Visual Studio .NET 2005
3cd ..
4Prebuild.exe /target vs2005 /file prebuild.xml /build NET_2_0 /pause
diff --git a/Prebuild/scripts/.svn/text-base/VS2008.bat.svn-base b/Prebuild/scripts/.svn/text-base/VS2008.bat.svn-base
new file mode 100644
index 0000000..b465668
--- /dev/null
+++ b/Prebuild/scripts/.svn/text-base/VS2008.bat.svn-base
@@ -0,0 +1,4 @@
1@rem Generates a solution (.sln) and a set of project files (.csproj, .vbproj, etc.)
2@rem for Microsoft Visual Studio .NET 2008
3cd ..
4Prebuild.exe /target vs2008 /file prebuild.xml /pause
diff --git a/Prebuild/scripts/.svn/text-base/VS2010.bat.svn-base b/Prebuild/scripts/.svn/text-base/VS2010.bat.svn-base
new file mode 100644
index 0000000..87676ac
--- /dev/null
+++ b/Prebuild/scripts/.svn/text-base/VS2010.bat.svn-base
@@ -0,0 +1,4 @@
1@rem Generates a solution (.sln) and a set of project files (.csproj, .vbproj, etc.)
2@rem for Microsoft Visual Studio .NET 2010
3cd ..
4Prebuild.exe /target vs2010 /file prebuild.xml /pause
diff --git a/Prebuild/scripts/.svn/text-base/autotools.bat.svn-base b/Prebuild/scripts/.svn/text-base/autotools.bat.svn-base
new file mode 100644
index 0000000..1fd3469
--- /dev/null
+++ b/Prebuild/scripts/.svn/text-base/autotools.bat.svn-base
@@ -0,0 +1,4 @@
1@rem Generates Makefiles
2@rem for autotools
3cd ..
4Prebuild.exe /target autotools /file prebuild.xml /pause
diff --git a/Prebuild/scripts/.svn/text-base/autotools.sh.svn-base b/Prebuild/scripts/.svn/text-base/autotools.sh.svn-base
new file mode 100644
index 0000000..4d140ce
--- /dev/null
+++ b/Prebuild/scripts/.svn/text-base/autotools.sh.svn-base
@@ -0,0 +1,5 @@
1#!/bin/sh
2RUNTIME=`which mono`
3
4SCRIPTDIR=`dirname $0`
5${RUNTIME} ${SCRIPTDIR}/../Prebuild.exe /target autotools /file ${SCRIPTDIR}/../prebuild.xml /build NET_2_0
diff --git a/Prebuild/scripts/.svn/text-base/makefile.bat.svn-base b/Prebuild/scripts/.svn/text-base/makefile.bat.svn-base
new file mode 100644
index 0000000..eef9a69
--- /dev/null
+++ b/Prebuild/scripts/.svn/text-base/makefile.bat.svn-base
@@ -0,0 +1,4 @@
1@rem Generates makefiles
2@rem for make
3cd ..
4Prebuild.exe /target makefile /file prebuild.xml /pause
diff --git a/Prebuild/scripts/.svn/text-base/makefile.sh.svn-base b/Prebuild/scripts/.svn/text-base/makefile.sh.svn-base
new file mode 100644
index 0000000..2e656cb
--- /dev/null
+++ b/Prebuild/scripts/.svn/text-base/makefile.sh.svn-base
@@ -0,0 +1,10 @@
1#!/bin/sh
2
3./prebuild /target makefile /file ../prebuild.xml /pause
4
5if [ -f ../Makefile ]
6then
7 rm -rf ../Makefile
8fi
9
10mv ../Prebuild.make ../Makefile
diff --git a/Prebuild/scripts/.svn/text-base/nant.bat.svn-base b/Prebuild/scripts/.svn/text-base/nant.bat.svn-base
new file mode 100644
index 0000000..925467d
--- /dev/null
+++ b/Prebuild/scripts/.svn/text-base/nant.bat.svn-base
@@ -0,0 +1,4 @@
1@rem Generates a .build files
2@rem for NAnt
3cd ..
4Prebuild.exe /target nant /file prebuild.xml /pause
diff --git a/Prebuild/scripts/.svn/text-base/nant.sh.svn-base b/Prebuild/scripts/.svn/text-base/nant.sh.svn-base
new file mode 100644
index 0000000..0311971
--- /dev/null
+++ b/Prebuild/scripts/.svn/text-base/nant.sh.svn-base
@@ -0,0 +1,2 @@
1#!/bin/sh
2prebuild /target nant /file ../prebuild.xml /pause
diff --git a/Prebuild/scripts/.svn/text-base/xcode.bat.svn-base b/Prebuild/scripts/.svn/text-base/xcode.bat.svn-base
new file mode 100644
index 0000000..9883edf
--- /dev/null
+++ b/Prebuild/scripts/.svn/text-base/xcode.bat.svn-base
@@ -0,0 +1,4 @@
1@rem Generates a Xcode files
2@rem for NAnt
3cd ..
4Prebuild.exe /target xcode /file prebuild.xml /pause
diff --git a/Prebuild/scripts/.svn/text-base/xcode.sh.svn-base b/Prebuild/scripts/.svn/text-base/xcode.sh.svn-base
new file mode 100644
index 0000000..e9b58f9
--- /dev/null
+++ b/Prebuild/scripts/.svn/text-base/xcode.sh.svn-base
@@ -0,0 +1,2 @@
1#!/bin/sh
2prebuild /target xcode /file ../prebuild.xml /pause
diff --git a/Prebuild/scripts/Clean.bat b/Prebuild/scripts/Clean.bat
new file mode 100755
index 0000000..806bbe8
--- /dev/null
+++ b/Prebuild/scripts/Clean.bat
@@ -0,0 +1,2 @@
1cd ..
2Prebuild.exe /clean /yes /removedir obj /file prebuild.xml /build NET_2_0 /pause
diff --git a/Prebuild/scripts/Clean.sh b/Prebuild/scripts/Clean.sh
new file mode 100755
index 0000000..b0a6530
--- /dev/null
+++ b/Prebuild/scripts/Clean.sh
@@ -0,0 +1,4 @@
1#!/bin/sh
2
3./prebuild /clean /removedir obj /file ../prebuild.xml /pause
4rm -rf ../Makefile
diff --git a/Prebuild/scripts/Help.bat b/Prebuild/scripts/Help.bat
new file mode 100755
index 0000000..7c843c4
--- /dev/null
+++ b/Prebuild/scripts/Help.bat
@@ -0,0 +1,2 @@
1cd ..
2Prebuild.exe /usage /pause \ No newline at end of file
diff --git a/Prebuild/scripts/MonoDevelop.sh b/Prebuild/scripts/MonoDevelop.sh
new file mode 100755
index 0000000..fbd7669
--- /dev/null
+++ b/Prebuild/scripts/MonoDevelop.sh
@@ -0,0 +1,2 @@
1#!/bin/sh
2prebuild /target monodev /file ../prebuild.xml /build NET_1_1 /pause
diff --git a/Prebuild/scripts/Prebuild.nsi b/Prebuild/scripts/Prebuild.nsi
new file mode 100644
index 0000000..8f9854e
--- /dev/null
+++ b/Prebuild/scripts/Prebuild.nsi
@@ -0,0 +1,231 @@
1!verbose 3
2
3!define PRODUCT_NAME "Prebuild"
4!define PRODUCT_VERSION "1.3.1"
5!define PRODUCT_PUBLISHER "Prebuild"
6!define PRODUCT_PACKAGE "prebuild"
7!define PRODUCT_WEB_SITE "http://dnpb.sourceforge.net"
8!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\Prebuild"
9!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\Prebuild"
10!define PRODUCT_UNINST_ROOT_KEY "HKLM"
11!define PRODUCT_PATH ".."
12
13;!define MUI_WELCOMEFINISHPAGE_BITMAP "PrebuildLogo.bmp"
14;!define MUI_WELCOMEFINISHPAGE_BITMAP_NOSTRETCH
15;!define MUI_UNWELCOMEFINISHPAGE_BITMAP "PrebuildLogo.bmp"
16;!define MUI_UNWELCOMEFINISHPAGE_BITMAP_NOSTRETCH
17
18BrandingText "© 2003-2006 David Hudson, http://dnpb.sourceforge.net/"
19SetCompressor lzma
20CRCCheck on
21
22; File Association defines
23;!include "fileassoc.nsh"
24
25; MUI 1.67 compatible ------
26!include "MUI.nsh"
27
28; MUI Settings
29!define MUI_ABORTWARNING
30!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico"
31!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"
32
33;--------------------------------
34;Variables
35
36;--------------------------------
37;Installer Pages
38
39; Welcome page
40!insertmacro MUI_PAGE_WELCOME
41; License page
42!insertmacro MUI_PAGE_LICENSE "..\doc\license.txt"
43; Directory page
44!insertmacro MUI_PAGE_DIRECTORY
45
46; Instfiles page
47!insertmacro MUI_PAGE_INSTFILES
48
49; Finish page
50!insertmacro MUI_PAGE_FINISH
51
52;------------------------------------
53; Uninstaller pages
54!insertmacro MUI_UNPAGE_CONFIRM
55!insertmacro MUI_UNPAGE_INSTFILES
56!insertmacro MUI_UNPAGE_FINISH
57;------------------------------------
58
59; Language files
60!insertmacro MUI_LANGUAGE "English"
61
62; Reserve files
63!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS
64
65; MUI end ------
66
67Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
68OutFile "..\${PRODUCT_PACKAGE}-${PRODUCT_VERSION}-setup.exe"
69InstallDir "$PROGRAMFILES\Prebuild"
70InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
71ShowInstDetails show
72ShowUnInstDetails show
73
74; .NET Framework check
75; http://msdn.microsoft.com/netframework/default.aspx?pull=/library/en-us/dnnetdep/html/redistdeploy1_1.asp
76; Section "Detecting that the .NET Framework 1.1 is installed"
77Function .onInit
78 ReadRegDWORD $R0 HKLM "SOFTWARE\Microsoft\NET Framework Setup\NDP\v1.1.4322" Install
79 StrCmp $R0 "" 0 CheckPreviousVersion
80 MessageBox MB_OK "Microsoft .NET Framework 1.1 was not found on this system.$\r$\n$\r$\nUnable to continue this installation."
81 Abort
82
83 CheckPreviousVersion:
84 ReadRegStr $R0 ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName"
85 StrCmp $R0 "" CheckOSVersion 0
86 MessageBox MB_OK "An old version of Prebuild is installed on this computer, please uninstall first.$\r$\n$\r$\nUnable to continue this installation."
87 Abort
88
89 CheckOSVersion:
90 Call IsSupportedWindowsVersion
91 Pop $R0
92 StrCmp $R0 "False" NoAbort 0
93 MessageBox MB_OK "The operating system you are using is not supported by Prebuild (95/98/ME/NT3.x/NT4.x)."
94 Abort
95
96 NoAbort:
97FunctionEnd
98
99Section "Source" SecSource
100 SetOverwrite ifnewer
101 SetOutPath "$INSTDIR\src"
102 File /r /x *.swp /x .svn /x *.xml /x *.csproj /x *.user /x *.build /x *.prjx /x *.mdp /x bin /x obj /x *.nsi ${PRODUCT_PATH}\src\*.*
103
104 ;Store installation folder
105 WriteRegStr HKCU "Software\Prebuild" "" $INSTDIR
106
107SectionEnd
108
109Section "Runtime" SecRuntime
110 SetOverwrite ifnewer
111 SetOutPath "$INSTDIR"
112 File /r /x *.swp /x .svn /x *.nsi /x src /x *.sln /x *.cmbx /x *.mds ${PRODUCT_PATH}\Prebuild.exe ${PRODUCT_PATH}\prebuild.xml
113
114 ;Store installation folder
115 WriteRegStr HKCU "Software\Prebuild" "" $INSTDIR
116
117SectionEnd
118
119Section "Documentation" SecDocs
120 SetOverwrite ifnewer
121 SetOutPath "$INSTDIR\doc"
122 File /r /x *.swp /x .svn /x *.exe ${PRODUCT_PATH}\doc\*.*
123
124 ;Store installation folder
125 WriteRegStr HKCU "Software\Prebuild" "" $INSTDIR
126SectionEnd
127
128Section "Scripts" SecScripts
129 SetOverwrite ifnewer
130 SetOutPath "$INSTDIR\scripts"
131 File /r /x *.swp /x .svn /x *.nsi /x *.exe ${PRODUCT_PATH}\scripts\*.*
132
133 ;Store installation folder
134 WriteRegStr HKCU "Software\Prebuild" "" $INSTDIR
135SectionEnd
136
137;Language strings
138
139Section -AdditionalIcons
140 WriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}"
141SectionEnd
142
143Section -Post
144 WriteUninstaller "$INSTDIR\uninst.exe"
145 WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
146 WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"
147 WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
148 WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
149 WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
150SectionEnd
151
152Section Uninstall
153
154 DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
155 DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
156 RMDir /r "$INSTDIR"
157
158SectionEnd
159
160; GetWindowsVersion, taken from NSIS help, modified for our purposes
161Function IsSupportedWindowsVersion
162
163 Push $R0
164 Push $R1
165
166 ReadRegStr $R0 HKLM \
167 "SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion
168
169 IfErrors 0 lbl_winnt
170
171 ; we are not NT
172 ReadRegStr $R0 HKLM \
173 "SOFTWARE\Microsoft\Windows\CurrentVersion" VersionNumber
174
175 StrCpy $R1 $R0 1
176 StrCmp $R1 '4' 0 lbl_error
177
178 StrCpy $R1 $R0 3
179
180 StrCmp $R1 '4.0' lbl_win32_95
181 StrCmp $R1 '4.9' lbl_win32_ME lbl_win32_98
182
183 lbl_win32_95:
184 StrCpy $R0 'False'
185 Goto lbl_done
186
187 lbl_win32_98:
188 StrCpy $R0 'False'
189 Goto lbl_done
190
191 lbl_win32_ME:
192 StrCpy $R0 'False'
193 Goto lbl_done
194
195 lbl_winnt:
196
197 StrCpy $R1 $R0 1
198
199 StrCmp $R1 '3' lbl_winnt_x
200 StrCmp $R1 '4' lbl_winnt_x
201
202 StrCpy $R1 $R0 3
203
204 StrCmp $R1 '5.0' lbl_winnt_2000
205 StrCmp $R1 '5.1' lbl_winnt_XP
206 StrCmp $R1 '5.2' lbl_winnt_2003 lbl_error
207
208 lbl_winnt_x:
209 StrCpy $R0 'False'
210 Goto lbl_done
211
212 lbl_winnt_2000:
213 Strcpy $R0 'True'
214 Goto lbl_done
215
216 lbl_winnt_XP:
217 Strcpy $R0 'True'
218 Goto lbl_done
219
220 lbl_winnt_2003:
221 Strcpy $R0 'True'
222 Goto lbl_done
223
224 lbl_error:
225 Strcpy $R0 'False'
226 lbl_done:
227
228 Pop $R1
229 Exch $R0
230
231FunctionEnd
diff --git a/Prebuild/scripts/SharpDevelop.bat b/Prebuild/scripts/SharpDevelop.bat
new file mode 100755
index 0000000..08fea0b
--- /dev/null
+++ b/Prebuild/scripts/SharpDevelop.bat
@@ -0,0 +1,4 @@
1@rem Generates a combine (.cmbx) and a set of project files (.prjx)
2@rem for SharpDevelop (http://icsharpcode.net/OpenSource/SD/Default.aspx)
3cd ..
4Prebuild.exe /target sharpdev /file prebuild.xml /build NET_1_1 /pause
diff --git a/Prebuild/scripts/SharpDevelop2.bat b/Prebuild/scripts/SharpDevelop2.bat
new file mode 100755
index 0000000..4ca0272
--- /dev/null
+++ b/Prebuild/scripts/SharpDevelop2.bat
@@ -0,0 +1,4 @@
1@rem Generates a combine (.cmbx) and a set of project files (.prjx)
2@rem for SharpDevelop (http://icsharpcode.net/OpenSource/SD/Default.aspx)
3cd ..
4Prebuild.exe /target sharpdev2 /file prebuild.xml /pause
diff --git a/Prebuild/scripts/VS2002.bat b/Prebuild/scripts/VS2002.bat
new file mode 100755
index 0000000..dc5b6a7
--- /dev/null
+++ b/Prebuild/scripts/VS2002.bat
@@ -0,0 +1,4 @@
1@rem Generates a solution (.sln) and a set of project files (.csproj)
2@rem for Microsoft Visual Studio .NET 2002
3cd ..
4Prebuild.exe /target vs2002 /file prebuild.xml /build NET_1_1 /pause
diff --git a/Prebuild/scripts/VS2003.bat b/Prebuild/scripts/VS2003.bat
new file mode 100755
index 0000000..929a480
--- /dev/null
+++ b/Prebuild/scripts/VS2003.bat
@@ -0,0 +1,4 @@
1@rem Generates a solution (.sln) and a set of project files (.csproj)
2@rem for Microsoft Visual Studio .NET 2002
3cd ..
4Prebuild.exe /target vs2003 /file prebuild.xml /build NET_1_1 /pause
diff --git a/Prebuild/scripts/VS2005.bat b/Prebuild/scripts/VS2005.bat
new file mode 100755
index 0000000..7a7af1d
--- /dev/null
+++ b/Prebuild/scripts/VS2005.bat
@@ -0,0 +1,4 @@
1@rem Generates a solution (.sln) and a set of project files (.csproj, .vbproj, etc.)
2@rem for Microsoft Visual Studio .NET 2005
3cd ..
4Prebuild.exe /target vs2005 /file prebuild.xml /build NET_2_0 /pause
diff --git a/Prebuild/scripts/VS2008.bat b/Prebuild/scripts/VS2008.bat
new file mode 100755
index 0000000..b465668
--- /dev/null
+++ b/Prebuild/scripts/VS2008.bat
@@ -0,0 +1,4 @@
1@rem Generates a solution (.sln) and a set of project files (.csproj, .vbproj, etc.)
2@rem for Microsoft Visual Studio .NET 2008
3cd ..
4Prebuild.exe /target vs2008 /file prebuild.xml /pause
diff --git a/Prebuild/scripts/VS2010.bat b/Prebuild/scripts/VS2010.bat
new file mode 100644
index 0000000..87676ac
--- /dev/null
+++ b/Prebuild/scripts/VS2010.bat
@@ -0,0 +1,4 @@
1@rem Generates a solution (.sln) and a set of project files (.csproj, .vbproj, etc.)
2@rem for Microsoft Visual Studio .NET 2010
3cd ..
4Prebuild.exe /target vs2010 /file prebuild.xml /pause
diff --git a/Prebuild/scripts/autotools.bat b/Prebuild/scripts/autotools.bat
new file mode 100755
index 0000000..1fd3469
--- /dev/null
+++ b/Prebuild/scripts/autotools.bat
@@ -0,0 +1,4 @@
1@rem Generates Makefiles
2@rem for autotools
3cd ..
4Prebuild.exe /target autotools /file prebuild.xml /pause
diff --git a/Prebuild/scripts/autotools.sh b/Prebuild/scripts/autotools.sh
new file mode 100755
index 0000000..4d140ce
--- /dev/null
+++ b/Prebuild/scripts/autotools.sh
@@ -0,0 +1,5 @@
1#!/bin/sh
2RUNTIME=`which mono`
3
4SCRIPTDIR=`dirname $0`
5${RUNTIME} ${SCRIPTDIR}/../Prebuild.exe /target autotools /file ${SCRIPTDIR}/../prebuild.xml /build NET_2_0
diff --git a/Prebuild/scripts/makefile.bat b/Prebuild/scripts/makefile.bat
new file mode 100755
index 0000000..eef9a69
--- /dev/null
+++ b/Prebuild/scripts/makefile.bat
@@ -0,0 +1,4 @@
1@rem Generates makefiles
2@rem for make
3cd ..
4Prebuild.exe /target makefile /file prebuild.xml /pause
diff --git a/Prebuild/scripts/makefile.sh b/Prebuild/scripts/makefile.sh
new file mode 100755
index 0000000..2e656cb
--- /dev/null
+++ b/Prebuild/scripts/makefile.sh
@@ -0,0 +1,10 @@
1#!/bin/sh
2
3./prebuild /target makefile /file ../prebuild.xml /pause
4
5if [ -f ../Makefile ]
6then
7 rm -rf ../Makefile
8fi
9
10mv ../Prebuild.make ../Makefile
diff --git a/Prebuild/scripts/nant.bat b/Prebuild/scripts/nant.bat
new file mode 100755
index 0000000..925467d
--- /dev/null
+++ b/Prebuild/scripts/nant.bat
@@ -0,0 +1,4 @@
1@rem Generates a .build files
2@rem for NAnt
3cd ..
4Prebuild.exe /target nant /file prebuild.xml /pause
diff --git a/Prebuild/scripts/nant.sh b/Prebuild/scripts/nant.sh
new file mode 100755
index 0000000..0311971
--- /dev/null
+++ b/Prebuild/scripts/nant.sh
@@ -0,0 +1,2 @@
1#!/bin/sh
2prebuild /target nant /file ../prebuild.xml /pause
diff --git a/Prebuild/scripts/xcode.bat b/Prebuild/scripts/xcode.bat
new file mode 100755
index 0000000..9883edf
--- /dev/null
+++ b/Prebuild/scripts/xcode.bat
@@ -0,0 +1,4 @@
1@rem Generates a Xcode files
2@rem for NAnt
3cd ..
4Prebuild.exe /target xcode /file prebuild.xml /pause
diff --git a/Prebuild/scripts/xcode.sh b/Prebuild/scripts/xcode.sh
new file mode 100755
index 0000000..e9b58f9
--- /dev/null
+++ b/Prebuild/scripts/xcode.sh
@@ -0,0 +1,2 @@
1#!/bin/sh
2prebuild /target xcode /file ../prebuild.xml /pause