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