From 0c8195cf3e8391cbca987662dd5ce069b9d8f715 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 5 Feb 2013 11:54:30 +0000 Subject: [PATCH] 2013-02-05 12:53 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbtest/hbtest.prg + will now recognize -help and --help options to display help - utils/hbmk2/hbmk2.1 - utils/hbtest/hbtest.1 * config/postinst.hb - deleted platform specific "man"-files, which were either outdated (hbmk2) or the exact same as regular help output (hbtest). They are also extremely inconvenient to edit with regular text editors, plus keeping two similar docs in sync is very inefficient so pbly it's better idea to create .md output from the tools themselves and convert those to man format using an automated tool like md2man.rb. * utils/hbmk2/hbmk2.es_PE.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.pt_BR.po * updated one string in sync with hbmk2.prg * utils/hbmk2/hbmk2.prg * update in a comment --- harbour/ChangeLog.txt | 25 +++++ harbour/config/postinst.hb | 2 - harbour/utils/hbmk2/hbmk2.1 | 157 ----------------------------- harbour/utils/hbmk2/hbmk2.es_PE.po | 2 +- harbour/utils/hbmk2/hbmk2.hu_HU.po | 2 +- harbour/utils/hbmk2/hbmk2.prg | 2 + harbour/utils/hbmk2/hbmk2.pt_BR.po | 2 +- harbour/utils/hbtest/hbtest.1 | 26 ----- harbour/utils/hbtest/hbtest.prg | 10 +- 9 files changed, 36 insertions(+), 192 deletions(-) delete mode 100644 harbour/utils/hbmk2/hbmk2.1 delete mode 100644 harbour/utils/hbtest/hbtest.1 diff --git a/harbour/ChangeLog.txt b/harbour/ChangeLog.txt index 76c8fc87e8..1555f1a3be 100644 --- a/harbour/ChangeLog.txt +++ b/harbour/ChangeLog.txt @@ -10,6 +10,31 @@ * Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment */ +2013-02-05 12:53 UTC+0100 Viktor Szakats (harbour syenar.net) + * utils/hbtest/hbtest.prg + + will now recognize -help and --help options to + display help + + - utils/hbmk2/hbmk2.1 + - utils/hbtest/hbtest.1 + * config/postinst.hb + - deleted platform specific "man"-files, which were + either outdated (hbmk2) or the exact same as regular + help output (hbtest). They are also extremely + inconvenient to edit with regular text editors, plus + keeping two similar docs in sync is very inefficient + so pbly it's better idea to create .md output from + the tools themselves and convert those to man + format using an automated tool like md2man.rb. + + * utils/hbmk2/hbmk2.es_PE.po + * utils/hbmk2/hbmk2.hu_HU.po + * utils/hbmk2/hbmk2.pt_BR.po + * updated one string in sync with hbmk2.prg + + * utils/hbmk2/hbmk2.prg + * update in a comment + 2013-02-05 12:38 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg + help text added for envvars, disk files and macros diff --git a/harbour/config/postinst.hb b/harbour/config/postinst.hb index 8005c21f0d..0c071bf9b1 100644 --- a/harbour/config/postinst.hb +++ b/harbour/config/postinst.hb @@ -126,8 +126,6 @@ PROCEDURE Main( ... ) FOR EACH tmp IN { ; "src/main/harbour.1", ; "src/pp/hbpp.1", ; - "utils/hbmk2/hbmk2.1", ; - "utils/hbtest/hbtest.1", ; "contrib/hbrun/hbrun.1" } mk_hb_FCopy( tmp, GetEnvC( "HB_INSTALL_MAN" ) + hb_ps() + "man1" + hb_ps(), .T. ) NEXT diff --git a/harbour/utils/hbmk2/hbmk2.1 b/harbour/utils/hbmk2/hbmk2.1 deleted file mode 100644 index 454b50459e..0000000000 --- a/harbour/utils/hbmk2/hbmk2.1 +++ /dev/null @@ -1,157 +0,0 @@ -.TH HBMK2 1 - -.SH NAME -hbmk2 \- Harbour Make - -.SH SYNOPSIS -\fBhbmk2\fP \fB[options] [] \fP - -.SH DESCRIPTION -\fBhbmk2\fP is the Harbour make utility. - -It's a wrapper to the Harbour compiler, a C compiler and linker. - -.SH OPTIONS -.IP "\fB-help\fP" 10 -Display full help - -.IP "\fB-o\fP" 10 -output file name - -.IP "\fB-l\fP" 10 -link with library - -.IP "\fB-L\fP" 10 -additional path to search for libraries - -.IP "\fB-static|-shared\fP" 10 -link with static/shared libs - -.IP "\fB-mt|-st\fP" 10 -link with multi-thread/single-thread VM - -.IP "\fB-gt\fP" 10 -link with GT GT driver, can be repeated to link -with more GTs. First one will be the default at runtime - -.IP "\fB-gui|-std\fP" 10 -create GUI/console executable - -.IP "\fB-main=\fP" 10 -override the name of starting function/procedure. - -.IP "\fB-fullstatic\fP" 10 -link with all static libs - -.IP "\fB-nulrdd[-]\fP" 10 -link with nulrdd - -.IP "\fB-bldf[-]\fP" 10 -inherit all/no (default) flags from Harbour build - -.IP "\fB-bldf=[p][c][l]\fP" 10 -inherit .prg/.c/linker flags (or none) from Harbour build - -.IP "\fB-debug[-]\fP" 10 -add/exclude debug info - -.IP "\fB-map[-]\fP" 10 -create (or not) a map file - -.IP "\fB-strip[-]\fP" 10 -strip (no strip) binaries - -.IP "\fB-trace[-]\fP" 10 -show commands executed - -.IP "\fB-run[-]\fP" 10 -run/don't run the created executable - -.IP "\fB-hbcc, -hbcmp\fP" 10 -stop after creating the object files -create link/copy hbmk2 to hbcc/hbcmp for the same effect - -.IP "\fB-hblnk\fP" 10 -act as linker. Currently this is the same as -q - -.IP "\fB-plat=\fP" 10 -assume specific platform. Same as HB_PLATFORM envvar - -.IP "\fB-comp=\fP" 10 -use specific compiler. Same as HB_COMPILER envvar -Special value: -- bld: use original build settings (default on *nix) - -.IP "\fB-info\fP" 10 -turn on informational messages - -.IP "\fB-quiet\fP" 10 -suppress all screen messages - -