Changeset 222 for trunk/reskit


Ignore:
Timestamp:
Jun 18, 2005, 6:00:06 AM (20 years ago)
Author:
root
Message:

Rework comments add missing missing file check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/reskit/compile.cmd

    r2 r222  
    11@Echo off
     2:: $Id$
     3:: Build resource kit
     4
     5:: 17 Jun 05 SHL Rework comments add missing missing file check
     6
    27if "%1" == "/S" goto JustStr
    38if "%1" == "/s" goto JustStr
     
    813if "%1" == "-B" goto JustStr
    914if "%1" == "-b" goto JustStr
     15
    1016Echo.
    1117Echo FM/2 Translation Toolkit
    1218Echo.
    13 Echo Translate the _text only_ in FM3DLL.STR, FM3RES.RC and FM3RES.DLG
    14 Echo (do _not_ reorder, remove or create new lines in FM3DLL.STR or alter
    15 Echo any other files, except, perhaps, icons!).  Then type COMPILE /B at
    16 Echo a command line to build both the new FM3RES.DLL and FM3RES.STR files.
    17 Echo Copy these new files to your FM/2 directory to use them.  You will
    18 Echo need a copy of RC.EXE on your PATH and appropriate OS/2 #include
    19 Echo files in order to replace the resources (dialogs, icons, menus, etc.)
    20 Echo in FM3RES.DLL.  RC and the #include files come with the OS/2
    21 Echo developer's toolkit and various OS/2 compilers.  See comments in
    22 Echo FM3STR.H for remarks about additions and insertions.
     19Echo Usage: compile [/B] [/S]
    2320Echo.
    24 Echo Type COMPILE /S to compile only FM3RES.STR from FM3DLL.STR (RC and
    25 Echo #include files not required).  Don't fool with those odd-looking %%s,
    26 Echo %%lu, etc. thingies in FM3DLL.STR -- they're used by the C runtime
    27 Echo *printf routines, and FM/2 may crash if you remove or reorder them.
     21Echo   /B rebuild both FM3RES.DLL and FM3RES.STR
     22Echo   /S rebuild FM3RES.STR
    2823Echo.
     24Echo   See reskit.txt for detailed instructions.
    2925goto End
     26
    3027:JustStr
    3128Echo.
     
    4239if not exist fm3dlg.h goto Error
    4340if not exist fm3dll2.h goto Error
     41if not exist fm3hlp.h goto Error
    4442if not exist icons goto Error
    4543if not exist fm3res.dll goto Error
     
    5452Echo.
    5553Echo FM3DLL.STR
    56 Echo MKSTR2.EXE
     54Echo MKSTR.EXE
    5755if "%1" == "/S" goto SkipStr
    5856if "%1" == "/s" goto SkipStr
     
    6361Echo FM3DLG.H
    6462Echo FM3DLL2.H
     63Echo FM3HLP.H
    6564Echo FM3RES.DLL
    6665Echo Various icons in the ICONS subdirectory.
Note: See TracChangeset for help on using the changeset viewer.