summaryrefslogtreecommitdiffstats
path: root/scp2/macros/macro.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scp2/macros/macro.pl')
-rw-r--r--scp2/macros/macro.pl8
1 files changed, 7 insertions, 1 deletions
diff --git a/scp2/macros/macro.pl b/scp2/macros/macro.pl
index aa03d4e04b9f..7f54298f9a3e 100644
--- a/scp2/macros/macro.pl
+++ b/scp2/macros/macro.pl
@@ -188,11 +188,17 @@ sub write_MO_ALL_LANG_EXCEPT_EN_US_AND_QTZ
sub write_EXTRA_ALL_GOOD_HELP_LOCALIZATIONS_LANG
{
my $first = 1;
+ my $source;
+ if ($ENV{'ENABLE_HTMLHELP'} eq 'TRUE') {
+ $source = 'html-help'; # found in instsetoo_native/util/openoffice.lst.in's {filelistpath}/CustomTarget/helpcontent2/help3xsl/filelists
+ } else {
+ $source = 'HelpTarget';
+ }
print OUTFILE "#define EXTRA_ALL_GOOD_HELP_LOCALIZATIONS_LANG(name) ";
foreach $lang (@helplangs) {
print OUTFILE ";" unless $first;
$first = 0;
- print OUTFILE "\\\n\tName ($lang) = EXTRAFILELISTNAME(HelpTarget/,name,/$lang)";
+ print OUTFILE "\\\n\tName ($lang) = EXTRAFILELISTNAME($source/,name,/$lang)";
}
print OUTFILE "\n\n";
}