fixed chm options if FPCDocDir is not set

git-svn-id: trunk@13408 -
This commit is contained in:
andrew 2007-12-21 03:24:20 +00:00
parent e5e017a04d
commit e7071a7b67

View File

@ -129,9 +129,6 @@ begin
begin
SetString(RTLPrefix, 'ms-its:rtl.chm::/', 'RTLLINKPREFIX');
SetString(FCLPrefix, 'ms-its:fcl.chm::/', 'FCLLINKPREFIX');
ArgParams:=ArgParams+' --output='+ ChangeFileExt(PackageName, '.chm')
+' --auto-toc --auto-index'
+' --css-file=..'+PathDelim+'fpdoc.css ';
end
else
begin
@ -146,6 +143,13 @@ begin
FCLPrefix := ','+FCLPrefix;
end;
if OutFormat='chm' then
begin
ArgParams:=ArgParams+' --output='+ ChangeFileExt(PackageName, '.chm')
+' --auto-toc --auto-index'
+' --css-file=..'+PathDelim+'fpdoc.css ';
end;
ArgParams:=ArgParams+' --format='+OutFormat+' ';
end;