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)
commitfb8b43dbce8bc310718614384297aeaabb9a3cbb (patch) (side-by-side diff)
treeaf9d2c2b71ddffff93a97a02fe26611096b78645 /makehelp.bat
downloadbigbrother-fb8b43dbce8bc310718614384297aeaabb9a3cbb.zip
bigbrother-fb8b43dbce8bc310718614384297aeaabb9a3cbb.tar.gz
bigbrother-fb8b43dbce8bc310718614384297aeaabb9a3cbb.tar.bz2
initial commit into svn repository
git-svn-id: http://svn.klever.net/kin/bigbrother/trunk@1 fe716a7a-6dde-0310-88d9-d003556173a8
Diffstat (limited to 'makehelp.bat') (more/less context) (ignore 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 @@
+@echo off
+REM -- First make map file from Microsoft Visual C++ generated resource.h
+echo // MAKEHELP.BAT generated Help Map file. Used by BIGBRO.HPJ. >"help\bigbro.hm"
+echo. >>"help\bigbro.hm"
+echo // Commands (ID_* and IDM_*) >>"help\bigbro.hm"
+makehm ID_,HID_,0x10000 IDM_,HIDM_,0x10000 resource.h >>"help\bigbro.hm"
+echo. >>"help\bigbro.hm"
+echo // Prompts (IDP_*) >>"help\bigbro.hm"
+makehm IDP_,HIDP_,0x30000 resource.h >>"help\bigbro.hm"
+echo. >>"help\bigbro.hm"
+echo // Resources (IDR_*) >>"help\bigbro.hm"
+makehm IDR_,HIDR_,0x20000 resource.h >>"help\bigbro.hm"
+echo. >>"help\bigbro.hm"
+echo // Dialogs (IDD_*) >>"help\bigbro.hm"
+makehm IDD_,HIDD_,0x20000 resource.h >>"help\bigbro.hm"
+echo. >>"help\bigbro.hm"
+echo // Frame Controls (IDW_*) >>"help\bigbro.hm"
+makehm IDW_,HIDW_,0x50000 resource.h >>"help\bigbro.hm"
+REM -- Make help for Project BIGBROTHER
+
+
+echo Building RTF file
+xsltproc -o help/bigbrother.rtf shared-code/kinhelp.xsl help/bigbrother.xml
+echo Building Win32 Help files
+start /wait hcrtf -x "help\bigbrother.hpj"
+echo.
+if exist Debug\nul copy "help\bigbro.hlp" Debug
+if exist Debug\nul copy "help\bigbro.cnt" Debug
+if exist Release\nul copy "help\bigbro.hlp" Release
+if exist Release\nul copy "help\bigbro.cnt" Release
+if exist Releast\nul copy "help\bigbro.hlp" Releast
+if exist Releast\nul copy "help\bigbro.cnt" Releast
+echo.
+
+