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