! fixed not to double each doc entry
* cleanups
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
*
|
||||
* Portions of this project are based on hbdoc
|
||||
* Copyright 1999-2003 Luiz Rafael Culik <culikr@uol.com.br>
|
||||
* Copyright 2000 Luiz Rafael Culik <culik@sl.conex.net>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
||||
@@ -215,7 +215,6 @@ PROCEDURE Main( ... )
|
||||
aContent := {}
|
||||
AEval( ;
|
||||
{;
|
||||
p_hsSwitches[ "basedir" ] + "doc", ;
|
||||
p_hsSwitches[ "basedir" ] + "doc" + hb_ps() + "en", ;
|
||||
iif( p_hsSwitches[ "source" ], p_hsSwitches[ "basedir" ] + "src", NIL ), ;
|
||||
iif( p_hsSwitches[ "contribs" ], p_hsSwitches[ "basedir" ] + "contrib", NIL ), ;
|
||||
@@ -276,8 +275,7 @@ PROCEDURE Main( ... )
|
||||
NEXT
|
||||
|
||||
FOR idx := 1 TO Len( aContent )
|
||||
IF Right( aContent[ idx ]:sourcefile_, Len( "1stread.txt" ) ) == "1stread.txt"
|
||||
ELSE
|
||||
IF !( Right( aContent[ idx ]:sourcefile_, Len( "1stread.txt" ) ) == "1stread.txt" )
|
||||
oDocument:AddEntry( aContent[ idx ] )
|
||||
ENDIF
|
||||
NEXT
|
||||
|
||||
Reference in New Issue
Block a user