-rw-r--r-- | makehelp.bat | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/makehelp.bat b/makehelp.bat new file mode 100644 index 0000000..961dba0 --- a/dev/null +++ b/makehelp.bat | |||
@@ -0,0 +1,34 @@ | |||
1 | @echo off | ||
2 | REM -- First make map file from Microsoft Visual C++ generated resource.h | ||
3 | echo // MAKEHELP.BAT generated Help Map file. Used by T42.HPJ. >"help\T42.hm" | ||
4 | echo. >>"help\T42.hm" | ||
5 | echo // Commands (ID_* and IDM_*) >>"help\T42.hm" | ||
6 | makehm ID_,HID_,0x10000 IDM_,HIDM_,0x10000 resource.h >>"help\T42.hm" | ||
7 | echo. >>"help\T42.hm" | ||
8 | echo // Prompts (IDP_*) >>"help\T42.hm" | ||
9 | makehm IDP_,HIDP_,0x30000 resource.h >>"help\T42.hm" | ||
10 | echo. >>"help\T42.hm" | ||
11 | echo // Resources (IDR_*) >>"help\T42.hm" | ||
12 | makehm IDR_,HIDR_,0x20000 resource.h >>"help\T42.hm" | ||
13 | echo. >>"help\T42.hm" | ||
14 | echo // Dialogs (IDD_*) >>"help\T42.hm" | ||
15 | makehm IDD_,HIDD_,0x20000 resource.h >>"help\T42.hm" | ||
16 | echo. >>"help\T42.hm" | ||
17 | echo // Frame Controls (IDW_*) >>"help\T42.hm" | ||
18 | makehm IDW_,HIDW_,0x50000 resource.h >>"help\T42.hm" | ||
19 | REM -- Make help for Project T42 | ||
20 | |||
21 | echo Building RTF file | ||
22 | xsltproc -o help/T42.rtf shared-code/kinhelp.xsl help/T42.xml | ||
23 | echo Building Win32 Help files | ||
24 | start /wait hcrtf -x "help\T42.hpj" | ||
25 | echo. | ||
26 | if exist Debug\nul copy "help\T42.hlp" Debug | ||
27 | if exist Debug\nul copy "help\T42.cnt" Debug | ||
28 | if exist Release\nul copy "help\T42.hlp" Release | ||
29 | if exist Release\nul copy "help\T42.cnt" Release | ||
30 | if exist Releast\nul copy "help\T42.hlp" Releast | ||
31 | if exist Releast\nul copy "help\T42.cnt" Releast | ||
32 | echo. | ||
33 | |||
34 | |||