summaryrefslogtreecommitdiffabout
path: root/makehelp.bat
authorMichael Krelin <hacker@klever.net>2004-07-05 01:53:09 (UTC)
committer Michael Krelin <hacker@klever.net>2004-07-05 01:53:09 (UTC)
commit955d4e00adc9f39ab93bf21f07506eb75b013c70 (patch) (side-by-side diff)
tree92493a2c9ac206b822e24a9e5a6f6b1589be6afb /makehelp.bat
downloadT42-955d4e00adc9f39ab93bf21f07506eb75b013c70.zip
T42-955d4e00adc9f39ab93bf21f07506eb75b013c70.tar.gz
T42-955d4e00adc9f39ab93bf21f07506eb75b013c70.tar.bz2
initial commit into svn repository
git-svn-id: http://svn.klever.net/kin/T42/trunk@1 fe716a7a-6dde-0310-88d9-d003556173a8
Diffstat (limited to 'makehelp.bat') (more/less context) (ignore whitespace changes)
-rw-r--r--makehelp.bat34
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 @@
+@echo off
+REM -- First make map file from Microsoft Visual C++ generated resource.h
+echo // MAKEHELP.BAT generated Help Map file. Used by T42.HPJ. >"help\T42.hm"
+echo. >>"help\T42.hm"
+echo // Commands (ID_* and IDM_*) >>"help\T42.hm"
+makehm ID_,HID_,0x10000 IDM_,HIDM_,0x10000 resource.h >>"help\T42.hm"
+echo. >>"help\T42.hm"
+echo // Prompts (IDP_*) >>"help\T42.hm"
+makehm IDP_,HIDP_,0x30000 resource.h >>"help\T42.hm"
+echo. >>"help\T42.hm"
+echo // Resources (IDR_*) >>"help\T42.hm"
+makehm IDR_,HIDR_,0x20000 resource.h >>"help\T42.hm"
+echo. >>"help\T42.hm"
+echo // Dialogs (IDD_*) >>"help\T42.hm"
+makehm IDD_,HIDD_,0x20000 resource.h >>"help\T42.hm"
+echo. >>"help\T42.hm"
+echo // Frame Controls (IDW_*) >>"help\T42.hm"
+makehm IDW_,HIDW_,0x50000 resource.h >>"help\T42.hm"
+REM -- Make help for Project T42
+
+echo Building RTF file
+xsltproc -o help/T42.rtf shared-code/kinhelp.xsl help/T42.xml
+echo Building Win32 Help files
+start /wait hcrtf -x "help\T42.hpj"
+echo.
+if exist Debug\nul copy "help\T42.hlp" Debug
+if exist Debug\nul copy "help\T42.cnt" Debug
+if exist Release\nul copy "help\T42.hlp" Release
+if exist Release\nul copy "help\T42.cnt" Release
+if exist Releast\nul copy "help\T42.hlp" Releast
+if exist Releast\nul copy "help\T42.cnt" Releast
+echo.
+
+