author | Michael Krelin <hacker@klever.net> | 2004-07-05 01:53:09 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2004-07-05 01:53:09 (UTC) |
commit | 9938ea772d372ba955b7bc1f1c48a062c3a36f8a (patch) (unidiff) | |
tree | a98185df944e3a763f9557aa74bc2837b343f048 /makehelp.bat | |
download | pumpkin-9938ea772d372ba955b7bc1f1c48a062c3a36f8a.zip pumpkin-9938ea772d372ba955b7bc1f1c48a062c3a36f8a.tar.gz pumpkin-9938ea772d372ba955b7bc1f1c48a062c3a36f8a.tar.bz2 |
initial commit into svn repository
git-svn-id: http://svn.klever.net/kin/pumpkin/trunk@1 fe716a7a-6dde-0310-88d9-d003556173a8
-rw-r--r-- | makehelp.bat | 32 |
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 | ||
2 | REM -- First make map file from Microsoft Visual C++ generated resource.h | ||
3 | echo // MAKEHELP.BAT generated Help Map file. Used by PUMPKIN.HPJ. >"help\pumpkin.hm" | ||
4 | echo. >>"help\pumpkin.hm" | ||
5 | echo // Commands (ID_* and IDM_*) >>"help\pumpkin.hm" | ||
6 | makehm ID_,HID_,0x10000 IDM_,HIDM_,0x10000 resource.h >>"help\pumpkin.hm" | ||
7 | echo. >>"help\pumpkin.hm" | ||
8 | echo // Prompts (IDP_*) >>"help\pumpkin.hm" | ||
9 | makehm IDP_,HIDP_,0x30000 resource.h >>"help\pumpkin.hm" | ||
10 | echo. >>"help\pumpkin.hm" | ||
11 | echo // Resources (IDR_*) >>"help\pumpkin.hm" | ||
12 | makehm IDR_,HIDR_,0x20000 resource.h >>"help\pumpkin.hm" | ||
13 | echo. >>"help\pumpkin.hm" | ||
14 | echo // Dialogs (IDD_*) >>"help\pumpkin.hm" | ||
15 | makehm IDD_,HIDD_,0x20000 resource.h >>"help\pumpkin.hm" | ||
16 | echo. >>"help\pumpkin.hm" | ||
17 | echo // Frame Controls (IDW_*) >>"help\pumpkin.hm" | ||
18 | makehm IDW_,HIDW_,0x50000 resource.h >>"help\pumpkin.hm" | ||
19 | REM -- Make help for Project PUMPKIN | ||
20 | |||
21 | echo Building RTF file | ||
22 | xsltproc -o help/pumpkin.rtf shared-code/kinhelp.xsl help/pumpkin.xml | ||
23 | echo Building Win32 Help files | ||
24 | start /wait hcrtf -x "help\pumpkin.hpj" | ||
25 | echo. | ||
26 | if exist Debug\nul copy "help\pumpkin.hlp" Debug | ||
27 | if exist Debug\nul copy "help\pumpkin.cnt" Debug | ||
28 | if exist Release\nul copy "help\pumpkin.hlp" Release | ||
29 | if exist Release\nul copy "help\pumpkin.cnt" Release | ||
30 | if exist Releast\nul copy "help\pumpkin.hlp" Releast | ||
31 | if exist Releast\nul copy "help\pumpkin.cnt" Releast | ||
32 | echo. | ||