summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-10-26 22:20:14 +0000
committerwiz <wiz@pkgsrc.org>2014-10-26 22:20:14 +0000
commit22fcd8abb88a63877c26a7531b41dd4150942007 (patch)
tree09ef71c1265cf42703a4ce037ead49987b1b3f59
parent2b33ed23cef8fb3aa6b402cbb66acc0f2ffff956 (diff)
downloadpkgsrc-22fcd8abb88a63877c26a7531b41dd4150942007.tar.gz
Look for *.mdoc files when checking Xrefs. Some projects distribute
*.mdoc files and this helps. Bump version.
-rw-r--r--textproc/mdoclint/Makefile4
-rwxr-xr-xtextproc/mdoclint/files/mdoclint3
2 files changed, 4 insertions, 3 deletions
diff --git a/textproc/mdoclint/Makefile b/textproc/mdoclint/Makefile
index f2f38b3286a..e5311da76ed 100644
--- a/textproc/mdoclint/Makefile
+++ b/textproc/mdoclint/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.39 2014/06/23 18:10:21 wiz Exp $
+# $NetBSD: Makefile,v 1.40 2014/10/26 22:20:14 wiz Exp $
-DISTNAME= mdoclint-1.30
+DISTNAME= mdoclint-1.31
CATEGORIES= textproc
MASTER_SITES= # none
DISTFILES= # none
diff --git a/textproc/mdoclint/files/mdoclint b/textproc/mdoclint/files/mdoclint
index e31f222df6c..c522423f312 100755
--- a/textproc/mdoclint/files/mdoclint
+++ b/textproc/mdoclint/files/mdoclint
@@ -1,7 +1,7 @@
#!@PERL5@
#
# $OpenBSD: mdoclint,v 1.42 2014/03/18 22:36:30 miod Exp $
-# $NetBSD: mdoclint,v 1.49 2014/06/23 18:10:21 wiz Exp $
+# $NetBSD: mdoclint,v 1.50 2014/10/26 22:20:14 wiz Exp $
#
# Copyright (c) 2001-2013 Thomas Klausner
# All rights reserved.
@@ -282,6 +282,7 @@ sub verify_xref
}
}
return 1 if -f "./$page.$section";
+ return 1 if -f "./$page.mdoc";
$self->warning($pre."trailing Xref to $page($section)$post") if $opt_x;
return 0;