diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-08-06 09:04:33 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-08-06 09:04:33 +0300 |
commit | 71f215659046de3dfe63c4a84ae92d92d5213044 (patch) | |
tree | 6e242bc3dde7c53a68b404c35558dee0bf785e7e /mansrv | |
parent | bc4a499bb8a3823cc112f7765d814e03c03395ae (diff) | |
download | mansrv-71f215659046de3dfe63c4a84ae92d92d5213044.tar.gz mansrv-71f215659046de3dfe63c4a84ae92d92d5213044.tar.bz2 |
Add grohtml.opt to the list of dependencies
Diffstat (limited to 'mansrv')
-rwxr-xr-x | mansrv | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -224,7 +224,10 @@ $htmlbot = "$mandir/bottom.html" if (-R "$mandir/bottom.html"); push @deps, $htmltop, $htmlbot; # Process grohtml options -addopts("$mandir/grohtml.opt") if (-R "$mandir/grohtml.opt"); +if (-R "$mandir/grohtml.opt") { + addopts("$mandir/grohtml.opt"); + push @deps, "$mandir/grohtml.opt"; +} unless (-e $cachefile && checkdeps($cachefile)) { my $tempcachefile = "$cachefile.$$"; @@ -375,7 +378,8 @@ The cached page, however, is invalidated and its regeneration is triggered if any of the files it depends upon is newer than the cached copy. The list of dependencies includes (apart from the B<mansrv> program itself and its configuration file), both -HTML top and bottom files and the include file (if any). +HTML top and bottom files, the B<grohtml.opt> and the include +file (if any). =head1 CONFIGURATION |