source: trunk/RELEASE/PACK.CMD@ 30

Last change on this file since 30 was 29, checked in by Ben Rietbroek, 15 years ago

AiR-BOOT v1.06 -- Complete sourceforge mirror. (r56) [2010-02-19]
Signature-date: 2006-03-13.
Also contains binairy releases from v1.01 to v1.06, cd-rom images, etc.
If you want the whole pre v1.07 shebang, checkout this revision's trunk.
The v1.06 reference version is in 'tags/v1.06r'.
Note that this reference version uses 'NL' for 'Dutch'.

File size: 1.7 KB
RevLine 
[29]1@echo off
2rem This script was done for OS/2, I don't know if it will work on other OS
3if "%1"=="/?" goto Help
4if "%1"=="-?" goto Help
5if "%1"=="EN" goto Valid
6if "%1"=="DE" goto Valid
7if "%1"=="DT" goto Valid
8if "%1"=="FR" goto Valid
9if "%1"=="IT" goto Valid
10if "%1"=="RU" goto Valid
11if "%1"=="SW" goto Valid
12if "%1"=="ALL" goto BuildAll
13echo Invalid language ID
14goto ExitMe
15
16:Help
17echo pack.cmd [LanguageID] [Version]
18echo e.g. pack EN v106
19goto ExitMe
20
21:BuildAll
22if "%2"=="" goto NoVersion
23call pack EN %2
24call pack DE %2
25call pack DT %2
26call pack FR %2
27call pack IT %2
28call pack RU %2
29call pack SW %2
30goto ExitMe
31
32:NoVersion
33echo No version specified as 2nd parameter
34goto ExitMe
35
36:Valid
37if "%2"=="" goto NoVersion
38if not exist temp md temp
39if not exist temp\CD-ROM md temp\CD-ROM
40if not exist temp\DOCS md temp\DOCS
41if not exist temp\DOS md temp\DOS
42if not exist temp\OS2 md temp\OS2
43del temp\*.* /N
44del temp\CD-ROM\*.* /N
45del temp\DOCS\*.* /N
46del temp\DOS\*.* /N
47del temp\OS2\*.* /N
48copy !README!.1ST temp
49rem Language-specific bootcode
50copy bootcode\%1.bin temp\airboot.bin
51rem CD-ROM-specific files (ISO)
52copy CD-ROM\*.* temp\CD-ROM\*.*
53rem DOS-specific installer/tools
54copy DOS\airboot.com temp
55copy DOS\makedisk.com temp
56copy DOS\inithdd.com temp\DOS
57copy DOS\setaboot.com temp\DOS
58rem OS/2-specific installer/tools
59copy OS2\airboot2.exe temp
60copy OS2\setaboot.exe temp\OS2
61rem WINNT-specific installer
62copy WINNT\airbootw.exe temp
63rem Documentation
64copy ..\DOCS\GENERIC\*.* temp\DOCS
65copy ..\DOCS\%1\*.* temp\DOCS
66cd temp
67zip -R -S -9 AiRBOOT.zip *
68cd ..
69copy temp\AiRBOOT.zip ZIP\AiR-BOOT%2_%1.zip
70:ExitMe
Note: See TracBrowser for help on using the repository browser.