summaryrefslogtreecommitdiffstats
path: root/src/instdox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/instdox.cpp')
-rw-r--r--src/instdox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/instdox.cpp b/src/instdox.cpp
index 3e480dc..cd803cd 100644
--- a/src/instdox.cpp
+++ b/src/instdox.cpp
@@ -117,7 +117,7 @@ void writeInstallScript()
t << "if ( ! @files ) {\n";
t << " if (opendir(D,\".\")) {\n";
t << " foreach $file ( readdir(D) ) {\n";
- t << " $match = \".html\";\n";
+ t << " $match = \"" << Config_getString("HTML_FILE_EXTENSION") << "\";\n";
t << " next if ( $file =~ /^\\.\\.?$/ );\n";
t << " ($file =~ /$match/) && (push @files, $file);\n";
t << " ($file =~ \"tree.js\") && (push @files, $file);\n";