2013-03-28 03:22 UTC+0100 Viktor Szakats (harbour syenar.net)

* README.md
    * reverted to use ndashes

  * utils/hbmk2/hbmk2.prg
    % most option references changed to string variables,
      optimizing translatable strings and made them less
      dependent on changes in option names
    ! one typo in help

  * utils/hbmk2/*.po
    + regenerated. orphan translations deleted.

  * contrib/hbrun/hbrun.md
  * utils/hbmk2/hbmk2.md
    + regenerated
This commit is contained in:
Viktor Szakats
2013-03-28 03:22:57 +01:00
parent 457ac42a2a
commit ee3d2741d3
8 changed files with 8617 additions and 4166 deletions

View File

@@ -10,6 +10,23 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2013-03-28 03:22 UTC+0100 Viktor Szakats (harbour syenar.net)
* README.md
* reverted to use ndashes
* utils/hbmk2/hbmk2.prg
% most option references changed to string variables,
optimizing translatable strings and made them less
dependent on changes in option names
! one typo in help
* utils/hbmk2/*.po
+ regenerated. orphan translations deleted.
* contrib/hbrun/hbrun.md
* utils/hbmk2/hbmk2.md
+ regenerated
2013-03-27 16:51 UTC+0100 Viktor Szakats (harbour syenar.net)
* README.md
! fixed bad links

View File

@@ -434,7 +434,7 @@ See: [How to Build](#how-to-build)
# How to Enable Optional Components
Certain Harbour parts—typically contrib packages—depend
Certain Harbour parts – typically contrib packages – depend
on 3rd party components. To make these Harbour parts built,you need
to tell Harbour where to find the headers for these 3rd party
components.
@@ -451,7 +451,7 @@ on *nix which aren't available through official package managers
(f.e. ADS Client).
Note that Harbour is tuned to use 3rd party binary packages in their
default, unmodified—"vanilla"—install layout created by their
default, unmodified – "vanilla" – install layout created by their
official/mainstream install kits. If you manually move, rename,
delete or add files under the 3rd party packages' root directory,
the default Harbour build process (especially Windows implib
@@ -505,7 +505,7 @@ locally hosted copy (inside Harbour source repository) of these packages,
where applicable. `nolocal` will explicitly disable using locally hosted
copy.
Certain contribs can be instructed—when using .hbc files—to
Certain contribs can be instructed – when using .hbc files – to
link against static build of their 3rd party lib dependencies (for
advanced users only):
@@ -743,7 +743,7 @@ sensitive.
Don't build any, or space separated `<l>` list of,
contrib packages. Please note it won't prevent
building packages which are dependencies of
other&mdash;enabled&mdash;packages.
other &ndash; enabled &ndash; packages.
- `HB_BUILD_CONTRIBS=[<l>]`
@@ -828,7 +828,7 @@ sensitive.
- `HB_CCSUFFIX=[<suffix>]`
Used with gcc compiler family to specify
compiler/linker tool name suffix&mdash;usually
compiler/linker tool name suffix &ndash; usually
version number.
## Cross-building
@@ -1329,7 +1329,7 @@ For all platforms you'll need two things:
* Supported ANSI C compiler
Your compiler of choice has to be placed in the PATH&mdash;and
Your compiler of choice has to be placed in the PATH &ndash; and
configured appropriately according to instructions.
If you use official Harbour binary distribution on Windows,
you already have MinGW compiler embedded in the installation,

View File

@@ -1,11 +1,11 @@
Harbour Shell / Script Runner 3\.2\.0dev \(r2013\-03\-16 12:52\)
Harbour Shell / Script Runner 3\.2\.0dev \(r2013\-03\-26 01:47\)
Copyright \(c\) 2007\-2013, Viktor Szakáts
Copyright \(c\) 2003\-2007, Przemysław Czerpak
<http://harbour\-project\.org/>
Syntax:
hbrun &lt;file\[\.hb|\.prg|\.hrb|\.dbf\]&gt;|&lt;option&gt; \[parameters\[s\]\]
hbrun &lt;file\[\.hb|\.prg|\.hrb|\.dbf\]&gt;|&lt;option&gt; \[&lt;parameter\[s\]&gt;\]
Description:
@@ -15,6 +15,9 @@ Description:
Options below are available on command\-line:
- **\-\-hb:debug** enable script debugging
- **\-help** this help
- **\-viewhelp** long help in text viewer
- **\-longhelp** long help
@@ -41,7 +44,6 @@ Environment variables:
- **HB\_EXTENSION** space separated list of extensions to load in interactive Harbour shell
- **HBSHELL\_DEBUG** enable script debugging if set to any non\-empty value
Shell API available in Harbour scripts:

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,4 @@
Harbour Make \(hbmk2\) 3\.2\.0dev \(r2013\-03\-16 12:52\)
Harbour Make \(hbmk2\) 3\.2\.0dev \(r2013\-03\-26 01:47\)
Copyright \(c\) 1999\-2013, Viktor Szakáts
<http://harbour\-project\.org/>
@@ -9,7 +9,7 @@ Syntax:
Description:
hbmk2 is an integrated and portable build tool, making it possible to create various types of executable binaries \(executable, dynamic library, static library, Harbour portable binary\) out of multiple types of source files \(C, C\+\+, Objective C, Harbour, gettext translations, Windows resources\)\. 'Integrated' means that a single hbmk2 project file can control all or most aspects of the build process\. 'Portable' means that a single hbmk2 project file can control the build on all supported OS platforms and across all supported C compilers\. It also aims to cover the majority of build tasks via short and simple project files \(options\)\. hbmk2 supports pure \-non\-Harbour\- C/C\+\+/Objective C projects as well\. In order to achieve above goals, hbmk2 will autodetect Harbour, C compiler and other required tools, then configure and call them appropriately\. hbmk2 allows to extend the types of supported source files via plugins\.
hbmk2 is an integrated and portable build tool, making it possible to create various types of executable binaries \(executable, dynamic library, static library, Harbour portable binary\) out of multiple types of source files \(C, C\+\+, Objective\-C, Harbour, gettext translations, Windows resources\)\. 'Integrated' means that a single hbmk2 project file can control all or most aspects of the build process\. 'Portable' means that a single hbmk2 project file can control the build on all supported OS platforms and across all supported C compilers\. It also aims to cover the majority of build tasks via short and simple project files \(options\)\. hbmk2 supports pure \-non\-Harbour\- C/C\+\+/Objective\-C projects as well\. In order to achieve above goals, hbmk2 will autodetect Harbour, C compiler and other required tools, then configure and call them appropriately\. hbmk2 allows to extend the types of supported source files via plugins\.
Besides building executables, hbmk2 is able to run Harbour scripts \(both source and precompiled\) directly, and it also features an interactive shell prompt\.
Options:
@@ -20,7 +20,7 @@ Options:
- **\-L&lt;libpath&gt;** additional path to search for libraries
- **\-i&lt;p&gt;|\-incpath=&lt;p&gt;** additional path to search for headers
- **\-static|\-shared** link with static/shared libs
- **\-gt&lt;name&gt;** link with GT&lt;name&gt; GT driver, can be repeated to link with more GTs\. First one will be the default at runtime
- **\-gt&lt;name&gt;** link with GT&lt;name&gt; GT driver, can be repeated to link with more GTs\. First one will be the default at run\-time
- **\-inc\[\-\]** enable/disable incremental build mode \(default: disabled\)
- **\-hbexe** create executable \(default\)
- **\-hblib** create static library
@@ -208,7 +208,7 @@ Options below are internal/developer ones \(compatibility not guaranteed\):
- **\-debugi18n** display internals on translation file generation
- **\-debugdepd** display internals of dependency detection
- **\-debugpars** display all input parameters in processing order
- **\-debugrte** generate a runtime error
- **\-debugrte** generate a run\-time error
You can sym\-link/copy/rename hbmk2 to the following names to alter default mode of operation:
@@ -216,7 +216,7 @@ You can sym\-link/copy/rename hbmk2 to the following names to alter default mode
- **hbrun\*|\*hbrun** mode script runner / interactive shell
- **hbrund|hbrun\*d** mode script runner / interactive shell in debug mode
- **harbour** mode \-hbraw \(emulate \-raw\- Harbour compiler\)
- **harbour** mode \-hbraw \(emulate \- raw \- Harbour compiler\)
- **clipper** mode \-hbcmp \(emulate Clipper compiler\)
- **rtlink** mode \-rtlink \(emulate Clipper linker\)
- **exospace** mode \-rtlink \(emulate Clipper linker\)
@@ -380,7 +380,6 @@ Environment variables:
- **HB\_EXTENSION** space separated list of extensions to load in interactive Harbour shell
- **HBSHELL\_DEBUG** enable script debugging if set to any non\-empty value
\.hbc directives \(they should be written in separate lines\):
@@ -523,7 +522,7 @@ Plugin variables:
- **"lSTRIP"** \-strip option status
- **"lDONTEXEC"** \-traceonly option status
- **"lIGNOREERROR"** \-ignore option status
- **"lTRACE"** \-trace options status
- **"lTRACE"** \-trace option status
- **"lQUIET"** \-q option status
- **"lINFO"** \-info option status
- **"lBEEP"** \-beep option status
@@ -567,7 +566,7 @@ Examples to start with hbmk2:
- **To run the interactive shell \('dot' prompt\)**
$ hbmk2 \.
- **To run a Harbour script**
$ hbmk2 myscript\.hb \[&lt;parameters&gt;\]
$ hbmk2 myscript\.hb \[&lt;parameter\[s\]&gt;\]
Examples to build and run Harbour portable binary \(aka precompiled Harbour script\):
@@ -576,7 +575,7 @@ Examples to build and run Harbour portable binary \(aka precompiled Harbour scri
- **To build**
$ hbmk2 \-gh myscript\.hb
- **To run result of above**
$ hbmk2 myscript\.hrb \[&lt;parameters&gt;\]
$ hbmk2 myscript\.hrb \[&lt;parameter\[s\]&gt;\]
Examples to build a Harbour application:
@@ -647,6 +646,7 @@ Notes:
Filters can be combined using '&amp;' \(and\), '|' \(or\) operators, negated by '\!' operator and grouped by parentheses\. Ex\.: \{win\}, \{gcc\}, \{linux|darwin\}, \{win&amp;\!pocc\}, \{\(win|linux\)&amp;\!watcom\}, \{unix&amp;mt&amp;gui\}, \-cflag=\{win\}\-DMYDEF, \-stop\{dos\}, \-stop\{\!allwin\}
- Most \.hbc lines \(libs=, hbcs=, prgflags=, cflags=, ldflags=, libpaths=, instfiles=, instpaths=, echo=\) and corresponding command\-line parameters will accept macro variables\. libpaths= also accepts %\{hb\_name\} which translates to the name of the \.hbc file under search\.
- Options accepting macro variables also support command substitution\. Enclose command inside \`\`, and, if the command contains space, also enclose in double quotes\. Standard output of the command will be used as the value\. F\.e\. "\-cflag=\`wx\-config \-\-cflags\`", or ldflags=\{unix&amp;gcc\}"\`wx\-config \-\-libs\`"\.
- When multiple target type selection options \(\-hblib, \-hbdyn, etc\.\) are specified, the first one will be significant, the rest will be silently ignored\.
- Libraries and object files built with/for CA\-Cl\*pper will not work with any supported platform/compiler\.
- Defaults and feature support may vary by platform/compiler\.
- GNU Make or any C compiler specific make tool and MSYS \(on Windows\) are not needed to run hbmk2\.

View File

@@ -15653,7 +15653,7 @@ STATIC PROCEDURE ShowHelp( hbmk, lMore, lLong )
LOCAL aHdr_Syntax_Shell := { ;
I_( "Syntax:" ), ;
"", ;
hb_StrFormat( I_( " %1$s <file[.hb|.prg|.hrb|.dbf]>|<option> [parameters[s]]" ), cShell ) }
hb_StrFormat( I_( " %1$s <file[.hb|.prg|.hrb|.dbf]>|<option> [%2$s]" ), cShell, I_( "<parameter[s]>" ) ) }
LOCAL aHdr_Supp := { ;
NIL, ;
@@ -15889,21 +15889,21 @@ STATIC PROCEDURE ShowHelp( hbmk, lMore, lLong )
NIL, ;
{ "hbrun*|*hbrun" , I_( "mode script runner / interactive shell" ) }, ;
{ "hbrund|hbrun*d", I_( "mode script runner / interactive shell in debug mode" ) }, ;
{ "harbour" , I_( "mode -hbraw (emulate -raw- Harbour compiler)" ) }, ;
{ "clipper" , I_( "mode -hbcmp (emulate Clipper compiler)" ) }, ;
{ "rtlink" , I_( "mode -rtlink (emulate Clipper linker)" ) }, ;
{ "exospace" , I_( "mode -rtlink (emulate Clipper linker)" ) }, ;
{ "blinker" , I_( "mode -rtlink (emulate Clipper linker)" ) }, ;
{ "*10" , I_( "option -hb10" ) }, ;
{ "*20" , I_( "option -hb20" ) }, ;
{ "*30" , I_( "option -hb30" ) }, ;
{ "x*" , I_( "option -xhb" ) }, ;
{ "hbcmp*|*hbcmp" , I_( "mode -hbcmp (emulate Harbour compiler producing a binary object)" ) }, ;
{ "hbcc*|*hbcc" , I_( "mode -hbcc (emulate C compiler)" ) }, ;
{ "hblnk*|*hblnk" , I_( "mode -hblnk (emulate C linker)" ) }, ;
{ "hbexe*|*hbexe" , I_( "mode -hbexe" ) }, ;
{ "hblib*|*hblib" , I_( "mode -hblib" ) }, ;
{ "hbdyn*|*hbdyn" , I_( "mode -hbdyn" ) } }
{ "harbour" , hb_StrFormat( I_( "mode %1$s (emulate - raw - Harbour compiler)" ), "-hbraw" ) }, ;
{ "clipper" , hb_StrFormat( I_( "mode %1$s (emulate Clipper compiler)" ), "-hbcmp" ) }, ;
{ "rtlink" , hb_StrFormat( I_( "mode %1$s (emulate Clipper linker)" ), "-rtlink" ) }, ;
{ "exospace" , hb_StrFormat( I_( "mode %1$s (emulate Clipper linker)" ), "-rtlink" ) }, ;
{ "blinker" , hb_StrFormat( I_( "mode %1$s (emulate Clipper linker)" ), "-rtlink" ) }, ;
{ "*10" , hb_StrFormat( I_( "option %1$s" ), "-hb10" ) }, ;
{ "*20" , hb_StrFormat( I_( "option %1$s" ), "-hb20" ) }, ;
{ "*30" , hb_StrFormat( I_( "option %1$s" ), "-hb30" ) }, ;
{ "x*" , hb_StrFormat( I_( "option %1$s" ), "-xhb" ) }, ;
{ "hbcmp*|*hbcmp" , hb_StrFormat( I_( "mode %1$s (emulate Harbour compiler producing a binary object)" ), "-hbcmp" ) }, ;
{ "hbcc*|*hbcc" , hb_StrFormat( I_( "mode %1$s (emulate C compiler)" ), "-hbcc" ) }, ;
{ "hblnk*|*hblnk" , hb_StrFormat( I_( "mode %1$s (emulate C linker)" ), "-hblnk" ) }, ;
{ "hbexe*|*hbexe" , hb_StrFormat( I_( "mode %1$s" ), "-hbexe" ) }, ;
{ "hblib*|*hblib" , hb_StrFormat( I_( "mode %1$s" ), "-hblib" ) }, ;
{ "hbdyn*|*hbdyn" , hb_StrFormat( I_( "mode %1$s" ), "-hbdyn" ) } }
LOCAL aHdr_Exit := { ;
"", ;
@@ -15934,13 +15934,13 @@ STATIC PROCEDURE ShowHelp( hbmk, lMore, lLong )
LOCAL aLst_EnvVar := { ;
NIL, ;
{ _HBMK_ENV_NAME , I_( "accepts any options as if they were passed in the beginning of the command-line" ) }, ;
{ "HB_PLATFORM" , I_( "accepts same values as -plat= option" ) }, ;
{ "HB_COMPILER" , I_( "accepts same values as -comp= option" ) }, ;
{ "HB_CPU" , I_( "accepts same values as -cpu= option" ) }, ;
{ "HB_BUILD_NAME" , I_( "accepts same values as -build= option" ) }, ;
{ "HB_LANG" , I_( "accepts same values as -lang= option" ) }, ;
{ "HB_USER_LIBS" , I_( "accepts same values (space separated) as -l option" ) }, ;
{ "HB_USER_LIBPATHS" , I_( "accepts same values (space separated) as -L option" ) }, ;
{ "HB_PLATFORM" , hb_StrFormat( I_( "accepts same values as %1$s option" ), "-plat=" ) }, ;
{ "HB_COMPILER" , hb_StrFormat( I_( "accepts same values as %1$s option" ), "-comp=" ) }, ;
{ "HB_CPU" , hb_StrFormat( I_( "accepts same values as %1$s option" ), "-cpu=" ) }, ;
{ "HB_BUILD_NAME" , hb_StrFormat( I_( "accepts same values as %1$s option" ), "-build=" ) }, ;
{ "HB_LANG" , hb_StrFormat( I_( "accepts same values as %1$s option" ), "-lang=" ) }, ;
{ "HB_USER_LIBS" , hb_StrFormat( I_( "accepts same values (space separated) as %1$s option" ), "-l" ) }, ;
{ "HB_USER_LIBPATHS" , hb_StrFormat( I_( "accepts same values (space separated) as %1$s option" ), "-L" ) }, ;
{ "HB_USER_PRGFLAGS" , I_( "options to be passed to Harbour compiler (before command-line options)" ) }, ;
{ "HB_USER_CFLAGS" , I_( "options to be passed to C compiler (before command-line options)" ) }, ;
{ "HB_USER_RESFLAGS" , I_( "options to be passed to resource compiler (before command-line options) (Windows only)" ) }, ;
@@ -16087,55 +16087,55 @@ STATIC PROCEDURE ShowHelp( hbmk, lMore, lLong )
{ "requests=" , I_( "add space separated list of symbols to force link to the target" ) }, ;
{ "syslibs=" , I_( "add space separated list of libraries as system libraries (before regular libraries)" ) }, ;
{ "hbcs=" , I_( "embed space separated list of .hbc files. Names without the extension is accepted. These references are processed in place." ) }, ;
{ "autohbcs=" , I_( "space separated list of values as in -autohbc= option" ) }, ;
{ "autohbcs=" , hb_StrFormat( I_( "space separated list of values as in %1$s option" ), "-autohbc=" ) }, ;
{ "libpaths=" , I_( "space separated list of additional library paths" ) }, ;
{ "incpaths=" , I_( "add space separated list of additional header paths (for both Harbour and C)" ) }, ;
{ "instfiles=" , I_( "space separated list of values as in -instfile= option" ) }, ;
{ "instpaths=" , I_( "space separated list of values as in -instpath= option" ) }, ;
{ "prgflags=" , I_( "space separated list of values as in -prgflag= option" ) }, ;
{ "cflags=" , I_( "space separated list of values as in -cflag= option" ) }, ;
{ "resflags=" , I_( "space separated list of values as in -resflag= option" ) }, ;
{ "ldflags=" , I_( "space separated list of values as in -ldflag= option" ) }, ;
{ "ldflags+=" , I_( "space separated list of values as in -ldflag+= option" ) }, ;
{ "dflags=" , I_( "space separated list of values as in -dflag= option" ) }, ;
{ "dflags+=" , I_( "space separated list of values as in -dflag+= option" ) }, ;
{ "pflags=" , I_( "space separated list of values as in -pflag= option" ) }, ;
{ "psources=" , I_( "space separated list of values as in -pi= option" ) }, ;
{ "gui=<bool>" , I_( "'yes' = -gui, 'no' = -std option" ) }, ;
{ "mt=<bool>" , I_( "'yes' = -mt, 'no' = -st option" ) }, ;
{ "pic=<bool>" , I_( "'yes' = -pic, 'no' = -pic- option" ) }, ;
{ "shared=<bool>" , I_( "'yes' = -shared, 'no' = -static option" ) }, ;
{ "instfiles=" , hb_StrFormat( I_( "space separated list of values as in %1$s option" ), "-instfile=" ) }, ;
{ "instpaths=" , hb_StrFormat( I_( "space separated list of values as in %1$s option" ), "-instpath=" ) }, ;
{ "prgflags=" , hb_StrFormat( I_( "space separated list of values as in %1$s option" ), "-prgflag=" ) }, ;
{ "cflags=" , hb_StrFormat( I_( "space separated list of values as in %1$s option" ), "-cflag=" ) }, ;
{ "resflags=" , hb_StrFormat( I_( "space separated list of values as in %1$s option" ), "-resflag=" ) }, ;
{ "ldflags=" , hb_StrFormat( I_( "space separated list of values as in %1$s option" ), "-ldflag=" ) }, ;
{ "ldflags+=" , hb_StrFormat( I_( "space separated list of values as in %1$s option" ), "-ldflag+=" ) }, ;
{ "dflags=" , hb_StrFormat( I_( "space separated list of values as in %1$s option" ), "-dflag=" ) }, ;
{ "dflags+=" , hb_StrFormat( I_( "space separated list of values as in %1$s option" ), "-dflag+=" ) }, ;
{ "pflags=" , hb_StrFormat( I_( "space separated list of values as in %1$s option" ), "-pflag=" ) }, ;
{ "psources=" , hb_StrFormat( I_( "space separated list of values as in %1$s option" ), "-pi=" ) }, ;
{ "gui=<bool>" , hb_StrFormat( I_( "'yes' = %1$s, 'no' = %2$s option" ), "-gui" ,"-std" ) }, ;
{ "mt=<bool>" , hb_StrFormat( I_( "'yes' = %1$s, 'no' = %2$s option" ), "-mt" ,"-st" ) }, ;
{ "pic=<bool>" , hb_StrFormat( I_( "'yes' = %1$s, 'no' = %2$s option" ), "-pic" ,"-pic-" ) }, ;
{ "shared=<bool>" , hb_StrFormat( I_( "'yes' = %1$s, 'no' = %2$s option" ), "-shared" ,"-static" ) }, ;
{ "shareddef=<bool>" , I_( "similar to shared=, but works only if shared/static mode was not set before" ) }, ;
{ "fullstatic=<bool>" , I_( "'yes' = -fullstatic, 'no' = -static option" ) }, ;
{ "debug=<bool>" , I_( "'yes' = -debug, 'no' = -debug- option" ) }, ;
{ "optim=" , I_( "'yes' = -optim, 'no' = -optim- option" ) }, ;
{ "nulrdd=<bool>" , I_( "'yes' = -nulrdd, 'no' = -nulrdd- option" ) }, ;
{ "nodefgt=<bool>" , I_( "'yes' = -nodefgt, 'no' = -nodefgt- option" ) }, ;
{ "map=<bool>" , I_( "'yes' = -map, 'no' = -map- option" ) }, ;
{ "hbcppmm=<bool>" , I_( "'yes' = -hbcpmm, 'no' = -hbcpmm- option" ) }, ;
{ "implib=<bool>" , I_( "'yes' = -implib, 'no' = -implib- option" ) }, ;
{ "winuni=<bool>" , I_( "'yes' = -winuni, 'no' = -winuni- option" ) }, ;
{ "strip=<bool>" , I_( "'yes' = -strip, 'no' = -strip- option" ) }, ;
{ "run=<bool>" , I_( "'yes' = -run, 'no' = -run- option" ) }, ;
{ "inc=<bool>" , I_( "'yes' = -inc, 'no' = -inc- option" ) }, ;
{ "safe=<bool>" , I_( "'yes' = -safe, 'no' = -safe- option" ) }, ;
{ "cpp=" , I_( "same as -cpp= option" ) }, ;
{ "warn=" , I_( "same as -warn= option" ) }, ;
{ "compr=" , I_( "same as -compr= option" ) }, ;
{ "head=" , I_( "same as -head= option" ) }, ;
{ "fullstatic=<bool>" , hb_StrFormat( I_( "'yes' = %1$s, 'no' = %2$s option" ), "-fullstatic","-static" ) }, ;
{ "debug=<bool>" , hb_StrFormat( I_( "'yes' = %1$s, 'no' = %2$s option" ), "-debug" ,"-debug-" ) }, ;
{ "optim=" , hb_StrFormat( I_( "'yes' = %1$s, 'no' = %2$s option" ), "-optim" ,"-optim-" ) }, ;
{ "nulrdd=<bool>" , hb_StrFormat( I_( "'yes' = %1$s, 'no' = %2$s option" ), "-nulrdd" ,"-nulrdd-" ) }, ;
{ "nodefgt=<bool>" , hb_StrFormat( I_( "'yes' = %1$s, 'no' = %2$s option" ), "-nodefgt" ,"-nodefgt-" ) }, ;
{ "map=<bool>" , hb_StrFormat( I_( "'yes' = %1$s, 'no' = %2$s option" ), "-map" ,"-map-" ) }, ;
{ "hbcppmm=<bool>" , hb_StrFormat( I_( "'yes' = %1$s, 'no' = %2$s option" ), "-hbcpmm" ,"-hbcpmm-" ) }, ;
{ "implib=<bool>" , hb_StrFormat( I_( "'yes' = %1$s, 'no' = %2$s option" ), "-implib" ,"-implib-" ) }, ;
{ "winuni=<bool>" , hb_StrFormat( I_( "'yes' = %1$s, 'no' = %2$s option" ), "-winuni" ,"-winuni-" ) }, ;
{ "strip=<bool>" , hb_StrFormat( I_( "'yes' = %1$s, 'no' = %2$s option" ), "-strip" ,"-strip-" ) }, ;
{ "run=<bool>" , hb_StrFormat( I_( "'yes' = %1$s, 'no' = %2$s option" ), "-run" ,"-run-" ) }, ;
{ "inc=<bool>" , hb_StrFormat( I_( "'yes' = %1$s, 'no' = %2$s option" ), "-inc" ,"-inc-" ) }, ;
{ "safe=<bool>" , hb_StrFormat( I_( "'yes' = %1$s, 'no' = %2$s option" ), "-safe" ,"-safe-" ) }, ;
{ "cpp=" , hb_StrFormat( I_( "same as %1$s option" ), "-cpp=" ) }, ;
{ "warn=" , hb_StrFormat( I_( "same as %1$s option" ), "-warn=" ) }, ;
{ "compr=" , hb_StrFormat( I_( "same as %1$s option" ), "-compr=" ) }, ;
{ "head=" , hb_StrFormat( I_( "same as %1$s option" ), "-head=" ) }, ;
{ "plugins=" , hb_StrFormat( I_( "space separated list of %1$s plugins to load" ), _SELF_NAME_ ) }, ;
{ "gt=<name>" , I_( "same as -gt<name> option" ) }, ;
{ "gt=<name>" , hb_StrFormat( I_( "same as %1$s option" ), "-gt<name>" ) }, ;
{ "gtdef=<name>" , I_( "set the default GT to be used" ) }, ;
{ "env=" , I_( "same as -env: option" ) }, ;
{ "deppkgname=" , I_( "same as -deppkgname= option" ) }, ;
{ "depkeyhead=" , I_( "same as -depkeyhead= option" ) }, ;
{ "depoptional=" , I_( "same as -depoptional= option" ) }, ;
{ "depcontrol=" , I_( "same as -depcontrol= option" ) }, ;
{ "depincroot=" , I_( "same as -depincroot= option" ) }, ;
{ "depincpath=" , I_( "same as -depincpath= option" ) }, ;
{ "depincpathlocal=" , I_( "same as -depincpathlocal= option" ) }, ;
{ "depimplibs=" , I_( "same as -depimplibs= option" ) }, ;
{ "depimplibd=" , I_( "same as -depimplibd= option" ) }, ;
{ "env=" , hb_StrFormat( I_( "same as %1$s option" ), "-env:" ) }, ;
{ "deppkgname=" , hb_StrFormat( I_( "same as %1$s option" ), "-deppkgname=" ) }, ;
{ "depkeyhead=" , hb_StrFormat( I_( "same as %1$s option" ), "-depkeyhead=" ) }, ;
{ "depoptional=" , hb_StrFormat( I_( "same as %1$s option" ), "-depoptional=" ) }, ;
{ "depcontrol=" , hb_StrFormat( I_( "same as %1$s option" ), "-depcontrol=" ) }, ;
{ "depincroot=" , hb_StrFormat( I_( "same as %1$s option" ), "-depincroot=" ) }, ;
{ "depincpath=" , hb_StrFormat( I_( "same as %1$s option" ), "-depincpath=" ) }, ;
{ "depincpathlocal=" , hb_StrFormat( I_( "same as %1$s option" ), "-depincpathlocal=" ) }, ;
{ "depimplibs=" , hb_StrFormat( I_( "same as %1$s option" ), "-depimplibs=" ) }, ;
{ "depimplibd=" , hb_StrFormat( I_( "same as %1$s option" ), "-depimplibd=" ) }, ;
{ "name=" , I_( "package name" ) }, ;
{ "description=" , I_( "package description" ) }, ;
{ "version=<x.y.z>" , I_( "package version number, where x,y,z >= 0 <= 255. Defaults to 0.0.1, if not specified." ) }, ;
@@ -16226,32 +16226,32 @@ STATIC PROCEDURE ShowHelp( hbmk, lMore, lLong )
{ '"cSTATE"' , I_( "callback state. Can be: 'init', 'pre_all', 'pre_prg', 'pre_res', 'pre_c', 'pre_link', 'pre_lib', 'pre_cleanup', 'post_build', 'post_all'" ) }, ;
{ '"params"' , I_( "array of parameters passed to plugins via -pflag=/pi= options or having an extension registered via hbmk_Register_Input_File_Extension()" ) }, ;
{ '"vars"' , I_( "hash of plugin custom variables. Writable, local to each plugin" ) }, ;
{ '"cPLAT"' , I_( "-plat value" ) }, ;
{ '"cCOMP"' , I_( "-comp value" ) }, ;
{ '"nCOMPVer"' , I_( "see HB_COMPILER_VER envvar" ) }, ;
{ '"cCPU"' , I_( "-cpu value" ) }, ;
{ '"cBUILD"' , I_( "-build= value" ) }, ;
{ '"cOUTPUTNAME"' , I_( "-o value" ) }, ;
{ '"cTARGETNAME"' , I_( "see ${hb_targetname} macro" ) }, ;
{ '"cTARGETTYPE"' , I_( "see ${hb_targettype} macro" ) }, ;
{ '"lREBUILD"' , I_( "-rebuild option status" ) }, ;
{ '"lCLEAN"' , I_( "-clean option status" ) }, ;
{ '"lDEBUG"' , I_( "-debug option status" ) }, ;
{ '"lMAP"' , I_( "-map option status" ) }, ;
{ '"lSTRIP"' , I_( "-strip option status" ) }, ;
{ '"lDONTEXEC"' , I_( "-traceonly option status" ) }, ;
{ '"lIGNOREERROR"' , I_( "-ignore option status" ) }, ;
{ '"lTRACE"' , I_( "-trace options status" ) }, ;
{ '"lQUIET"' , I_( "-q option status" ) }, ;
{ '"lINFO"' , I_( "-info option status" ) }, ;
{ '"lBEEP"' , I_( "-beep option status" ) }, ;
{ '"lRUN"' , I_( "-run option status" ) }, ;
{ '"lINC"' , I_( "-inc option status" ) }, ;
{ '"cCCPATH"' , I_( "see HB_CCPATH envvar" ) }, ;
{ '"cCCPREFIX"' , I_( "see HB_CCPREFIX envvar" ) }, ;
{ '"cCCSUFFIX"' , I_( "see HB_CCSUFFIX envvar" ) }, ;
{ '"cCCEXT"' , I_( "see HB_CCEXT envvar" ) }, ;
{ '"cWorkDir"' , I_( "-workdir= value" ) }, ;
{ '"cPLAT"' , hb_StrFormat( I_( "%1$s value" ), "-plat" ) }, ;
{ '"cCOMP"' , hb_StrFormat( I_( "%1$s value" ), "-comp" ) }, ;
{ '"nCOMPVer"' , hb_StrFormat( I_( "see %1$s envvar" ), "HB_COMPILER_VER" ) }, ;
{ '"cCPU"' , hb_StrFormat( I_( "%1$s value" ), "-cpu" ) }, ;
{ '"cBUILD"' , hb_StrFormat( I_( "%1$s value" ), "-build=" ) }, ;
{ '"cOUTPUTNAME"' , hb_StrFormat( I_( "%1$s value" ), "-o" ) }, ;
{ '"cTARGETNAME"' , hb_StrFormat( I_( "see %1$s macro" ), "${hb_targetname}" ) }, ;
{ '"cTARGETTYPE"' , hb_StrFormat( I_( "see %1$s macro" ), "${hb_targettype}" ) }, ;
{ '"lREBUILD"' , hb_StrFormat( I_( "%1$s option status" ), "-rebuild" ) }, ;
{ '"lCLEAN"' , hb_StrFormat( I_( "%1$s option status" ), "-clean" ) }, ;
{ '"lDEBUG"' , hb_StrFormat( I_( "%1$s option status" ), "-debug" ) }, ;
{ '"lMAP"' , hb_StrFormat( I_( "%1$s option status" ), "-map" ) }, ;
{ '"lSTRIP"' , hb_StrFormat( I_( "%1$s option status" ), "-strip" ) }, ;
{ '"lDONTEXEC"' , hb_StrFormat( I_( "%1$s option status" ), "-traceonly" ) }, ;
{ '"lIGNOREERROR"' , hb_StrFormat( I_( "%1$s option status" ), "-ignore" ) }, ;
{ '"lTRACE"' , hb_StrFormat( I_( "%1$s option status" ), "-trace" ) }, ;
{ '"lQUIET"' , hb_StrFormat( I_( "%1$s option status" ), "-q" ) }, ;
{ '"lINFO"' , hb_StrFormat( I_( "%1$s option status" ), "-info" ) }, ;
{ '"lBEEP"' , hb_StrFormat( I_( "%1$s option status" ), "-beep" ) }, ;
{ '"lRUN"' , hb_StrFormat( I_( "%1$s option status" ), "-run" ) }, ;
{ '"lINC"' , hb_StrFormat( I_( "%1$s option status" ), "-inc" ) }, ;
{ '"cCCPATH"' , hb_StrFormat( I_( "see %1$s envvar" ), "HB_CCPATH" ) }, ;
{ '"cCCPREFIX"' , hb_StrFormat( I_( "see %1$s envvar" ), "HB_CCPREFIX" ) }, ;
{ '"cCCSUFFIX"' , hb_StrFormat( I_( "see %1$s envvar" ), "HB_CCSUFFIX" ) }, ;
{ '"cCCEXT"' , hb_StrFormat( I_( "see %1$s envvar" ), "HB_CCEXT" ) }, ;
{ '"cWorkDir"' , hb_StrFormat( I_( "%1$s value" ), "-workdir=" ) }, ;
{ '"nExitCode"' , I_( "Current exit code" ) } }
LOCAL aHdr_Notes := { ;
@@ -16377,8 +16377,8 @@ STATIC PROCEDURE ShowHelp( hbmk, lMore, lLong )
LOCAL aLst_ExampleBasic := { ;
NIL, ;
{ I_( "To run the interactive shell ('dot' prompt)" ) , hb_StrFormat( I_( "$ %1$s ." ), _SELF_NAME_ ) }, ;
{ I_( "To run a Harbour script" ) , hb_StrFormat( I_( "$ %1$s myscript.hb [<parameters>]" ), _SELF_NAME_ ) } }
{ I_( "To run the interactive shell ('dot' prompt)" ) , hb_StrFormat( "$ %1$s .", _SELF_NAME_ ) }, ;
{ I_( "To run a Harbour script" ) , hb_StrFormat( "$ %1$s myscript.hb [%2$s]", _SELF_NAME_, I_( "<parameter[s]>" ) ) } }
LOCAL aHdr_ExampleHRB := { ;
"", ;
@@ -16386,8 +16386,8 @@ STATIC PROCEDURE ShowHelp( hbmk, lMore, lLong )
LOCAL aLst_ExampleHRB := { ;
NIL, ;
{ I_( "To build" ) , hb_StrFormat( I_( "$ %1$s -gh myscript.hb" ), _SELF_NAME_ ) }, ;
{ I_( "To run result of above" ) , hb_StrFormat( I_( "$ %1$s myscript.hrb [<parameters>]" ), _SELF_NAME_ ) } }
{ I_( "To build" ) , hb_StrFormat( "$ %1$s -gh myscript.hb", _SELF_NAME_ ) }, ;
{ I_( "To run result of above" ) , hb_StrFormat( "$ %1$s myscript.hrb [%2$s]", _SELF_NAME_, I_( "<parameter[s]>" ) ) } }
LOCAL aHdr_ExampleApp := { ;
"", ;
@@ -16395,15 +16395,15 @@ STATIC PROCEDURE ShowHelp( hbmk, lMore, lLong )
LOCAL aLst_ExampleApp := { ;
NIL, ;
{ I_( "To build one simple .prg" ) , hb_StrFormat( I_( "$ %1$s hello.prg" ), _SELF_NAME_ ) }, ;
{ I_( "To build multiple .prg sources into one application in incremental mode" ) , hb_StrFormat( I_( "$ %1$s mymain.prg myfuncs.prg -inc" ), _SELF_NAME_ ) }, ;
{ I_( "To build an application using a project file" ) , hb_StrFormat( I_( "$ %1$s myapp.hbp" ), _SELF_NAME_ ) }, ;
{ I_( "To build an application using incremental mode" ) , hb_StrFormat( I_( "$ %1$s myapp.hbp -inc" ), _SELF_NAME_ ) }, ;
{ I_( "To build an application which uses a contrib package or 3rd party (add-on) package that ships with an .hbc file" ), hb_StrFormat( I_( "$ %1$s myapp.prg hbct.hbc" ), _SELF_NAME_ ) }, ;
{ I_( "To build an application which uses a raw library" ) , hb_StrFormat( I_( "$ %1$s myapp.prg -lmylib -L<path_to_mylib>" ), _SELF_NAME_ ) }, ;
{ I_( "To build an application which uses a Windows resource" ) , hb_StrFormat( I_( "$ %1$s mymain.prg myres.rc" ), _SELF_NAME_ ) }, ;
{ I_( "To build an application which links against Harbour dynamic libraries" ) , hb_StrFormat( I_( "$ %1$s -shared myapp.prg" ), _SELF_NAME_ ) }, ;
{ I_( "To build an application out of all .prg and .c sources residing in 'source' subdir" ), hb_StrFormat( I_( "$ %1$s -omyapp src/*.prg src/*.c" ), _SELF_NAME_ ) } }
{ I_( "To build one simple .prg" ) , hb_StrFormat( "$ %1$s hello.prg", _SELF_NAME_ ) }, ;
{ I_( "To build multiple .prg sources into one application in incremental mode" ) , hb_StrFormat( "$ %1$s mymain.prg myfuncs.prg -inc", _SELF_NAME_ ) }, ;
{ I_( "To build an application using a project file" ) , hb_StrFormat( "$ %1$s myapp.hbp", _SELF_NAME_ ) }, ;
{ I_( "To build an application using incremental mode" ) , hb_StrFormat( "$ %1$s myapp.hbp -inc", _SELF_NAME_ ) }, ;
{ I_( "To build an application which uses a contrib package or 3rd party (add-on) package that ships with an .hbc file" ), hb_StrFormat( "$ %1$s myapp.prg hbct.hbc", _SELF_NAME_ ) }, ;
{ I_( "To build an application which uses a raw library" ) , hb_StrFormat( "$ %1$s myapp.prg -lmylib -L<path_to_mylib>", _SELF_NAME_ ) }, ;
{ I_( "To build an application which uses a Windows resource" ) , hb_StrFormat( "$ %1$s mymain.prg myres.rc", _SELF_NAME_ ) }, ;
{ I_( "To build an application which links against Harbour dynamic libraries" ) , hb_StrFormat( "$ %1$s -shared myapp.prg", _SELF_NAME_ ) }, ;
{ I_( "To build an application out of all .prg and .c sources residing in 'source' subdir" ), hb_StrFormat( "$ %1$s -omyapp src/*.prg src/*.c", _SELF_NAME_ ) } }
LOCAL aHdr_ExampleLib := { ;
"", ;
@@ -16411,8 +16411,8 @@ STATIC PROCEDURE ShowHelp( hbmk, lMore, lLong )
LOCAL aLst_ExampleLib := { ;
NIL, ;
{ I_( "To build library 'mylib' from sources" ) , hb_StrFormat( I_( "$ %1$s -hblib mylibsrc.prg -omylib" ), _SELF_NAME_ ) }, ;
{ I_( "To build library 'mylib' from sources using incremental mode" ) , hb_StrFormat( I_( "$ %1$s -hblib mylibsrc.prg -omylib -inc" ), _SELF_NAME_ ) } }
{ I_( "To build library 'mylib' from sources" ) , hb_StrFormat( "$ %1$s -hblib mylibsrc.prg -omylib", _SELF_NAME_ ) }, ;
{ I_( "To build library 'mylib' from sources using incremental mode" ) , hb_StrFormat( "$ %1$s -hblib mylibsrc.prg -omylib -inc", _SELF_NAME_ ) } }
LOCAL aHdr_Config := { ;
"", ;

File diff suppressed because it is too large Load Diff