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)
commita1487b3fc0313408525cd5b2f3bc4a462df351f7 (patch) (side-by-side diff)
tree010aec6c2abd5ada2f909ac6798c93bf22508bf5 /makehelp.bat
downloadklog-a1487b3fc0313408525cd5b2f3bc4a462df351f7.zip
klog-a1487b3fc0313408525cd5b2f3bc4a462df351f7.tar.gz
klog-a1487b3fc0313408525cd5b2f3bc4a462df351f7.tar.bz2
initial commit into svn repository
git-svn-id: http://svn.klever.net/kin/klog/trunk@1 fe716a7a-6dde-0310-88d9-d003556173a8
Diffstat (limited to 'makehelp.bat') (more/less context) (show whitespace changes)
-rw-r--r--makehelp.bat33
1 files changed, 33 insertions, 0 deletions
diff --git a/makehelp.bat b/makehelp.bat
new file mode 100644
index 0000000..1e4e179
--- a/dev/null
+++ b/makehelp.bat
@@ -0,0 +1,33 @@
+@echo off
+REM -- First make map file from Microsoft Visual C++ generated resource.h
+echo // MAKEHELP.BAT generated Help Map file. Used by KLOG.HPJ. >"help\klog.hm"
+echo. >>"help\klog.hm"
+echo // Commands (ID_* and IDM_*) >>"help\klog.hm"
+makehm ID_,HID_,0x10000 IDM_,HIDM_,0x10000 resource.h >>"help\klog.hm"
+echo. >>"help\klog.hm"
+echo // Prompts (IDP_*) >>"help\klog.hm"
+makehm IDP_,HIDP_,0x30000 resource.h >>"help\klog.hm"
+echo. >>"help\klog.hm"
+echo // Resources (IDR_*) >>"help\klog.hm"
+makehm IDR_,HIDR_,0x20000 resource.h >>"help\klog.hm"
+echo. >>"help\klog.hm"
+echo // Dialogs (IDD_*) >>"help\klog.hm"
+makehm IDD_,HIDD_,0x20000 resource.h >>"help\klog.hm"
+echo. >>"help\klog.hm"
+echo // Frame Controls (IDW_*) >>"help\klog.hm"
+makehm IDW_,HIDW_,0x50000 resource.h >>"help\klog.hm"
+REM -- Make help for Project KLOG
+
+echo Building RTF file
+xsltproc -o help/klog.rtf shared-code/kinhelp.xsl help/klog.xml
+echo Building Win32 Help files
+start /wait hcrtf -x "help\klog.hpj"
+echo.
+if exist Debug\nul copy "help\klog.hlp" Debug
+if exist Debug\nul copy "help\klog.cnt" Debug
+if exist Release\nul copy "help\klog.hlp" Release
+if exist Release\nul copy "help\klog.cnt" Release
+if exist Releast\nul copy "help\klog.hlp" Releast
+if exist Releast\nul copy "help\klog.cnt" Releast
+echo.
+