diff options
-rwxr-xr-x | mansrv | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -205,6 +205,8 @@ push @deps, $file; | |||
205 | # Split the name and determine the root mandir | 205 | # Split the name and determine the root mandir |
206 | my ($manfile, $mandir) = fileparse($file); | 206 | my ($manfile, $mandir) = fileparse($file); |
207 | $mandir =~ s/\/man[1-8n]//; | 207 | $mandir =~ s/\/man[1-8n]//; |
208 | $manfile =~ s/^(.*\.[1-8n])\..*/$1/; | ||
209 | $manfile .= ".html"; | ||
208 | 210 | ||
209 | if (! -d $cachedir) { | 211 | if (! -d $cachedir) { |
210 | mkdir($cachedir,0755) or syserror("mkdir $cachedir: $!"); | 212 | mkdir($cachedir,0755) or syserror("mkdir $cachedir: $!"); |