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