made them work regardless of cwd (some changes slipped into prev automatic commit, sorry)

This commit is contained in:
Viktor Szakats
2013-03-30 01:01:18 +01:00
parent 8054a4dc38
commit 67e5c6825e
2 changed files with 10 additions and 4 deletions

View File

@@ -10,6 +10,12 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2013-03-30 01:00 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/_md_gen.hb
* utils/hbmk2/_po_dl.hb
+ made them work regardless of cwd (some changes slipped into prev
automatic commit, sorry)
2013-03-30 00:43 UTC+0100 Viktor Szakats (harbour syenar.net)
* README.md
+ added status chart and link about ui translation to README

View File

@@ -24,12 +24,12 @@ PROCEDURE Main()
NEXT
FOR EACH cLang IN hb_ATokens( hb_regexAll( "-lng=([a-zA-Z0-9_,]*)", hb_MemoRead( hb_DirBase() + "hbmk2.hbp" ),,,,, .T. )[ 1 ][ 2 ], "," )
? file := hb_DirBase() + "doc/hbmk2." + cLang + ".md"
hb_run( hb_DirSepToOS( hb_StrFormat( "hbrun %1$s -lang=%2$s -longhelpmd > %3$s", hb_DirBase() + "hbmk2.prg", cLang, file ) ) )
? file := hb_DirSepToOS( hb_DirBase() + "doc/hbmk2." + cLang + ".md" )
hb_run( hb_StrFormat( "hbrun %1$s -lang=%2$s -longhelpmd > %3$s", hb_DirBase() + "hbmk2.prg", cLang, file ) )
hb_MemoWrit( file, StrTran( hb_MemoRead( file ), e"\n", hb_eol() ) )
? file := hb_DirBase() + "../../contrib/hbrun/doc/hbrun." + cLang + ".md"
hb_run( hb_DirSepToOS( hb_StrFormat( "hbrun %1$s -lang=%2$s -longhelpmdsh > %3$s", hb_DirBase() + "hbmk2.prg", cLang, file ) ) )
? file := hb_DirSepToOS( hb_DirBase() + "../../contrib/hbrun/doc/hbrun." + cLang + ".md" )
hb_run( hb_StrFormat( "hbrun %1$s -lang=%2$s -longhelpmdsh > %3$s", hb_DirBase() + "hbmk2.prg", cLang, file ) )
hb_MemoWrit( file, StrTran( hb_MemoRead( file ), e"\n", hb_eol() ) )
NEXT