]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_installmanpages
r372: * dh_installmanpages: don't install files that start with .#* -- these
[debhelper.git] / dh_installmanpages
index aff70b141609c9503b4219ba70f0cb2d2e472537..e8f00bfe915e8721a449bc079f68f43393277fea 100755 (executable)
@@ -17,8 +17,8 @@ sub find_man {
        # Does its filename look like a man page?
        # .ex files are examples installed by deb-make,
        # we don't want those, or .in files, which are
-       # from configure.
-       if (! (-f $_ && /^.*\.[1-9].*$/ && ! /\.(ex|in)$/)) {
+       # from configure, nor do we want CVS .#* files.
+       if (! (-f $_ && /^.*\.[1-9].*$/ && ! /\.(ex|in)$/) && ! /^\.#/) {
                return;
        }