pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/mdoclint Remove -H, it was only needed for md...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e6b9b2cbba48
branches:  trunk
changeset: 362481:e6b9b2cbba48
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue May 16 13:27:39 2017 +0000

description:
Remove -H, it was only needed for mdoc2html when we were still using groff.

>From Ingo Schwarze.

Mention Ingo in man page.
Bump version.

diffstat:

 textproc/mdoclint/Makefile         |   4 ++--
 textproc/mdoclint/files/mdoclint   |  19 +++----------------
 textproc/mdoclint/files/mdoclint.1 |  29 ++++++++---------------------
 3 files changed, 13 insertions(+), 39 deletions(-)

diffs (142 lines):

diff -r 699348fff691 -r e6b9b2cbba48 textproc/mdoclint/Makefile
--- a/textproc/mdoclint/Makefile        Tue May 16 12:47:22 2017 +0000
+++ b/textproc/mdoclint/Makefile        Tue May 16 13:27:39 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.62 2017/05/15 09:33:03 wiz Exp $
+# $NetBSD: Makefile,v 1.63 2017/05/16 13:27:39 wiz Exp $
 
-DISTNAME=      mdoclint-1.51
+DISTNAME=      mdoclint-1.52
 CATEGORIES=    textproc
 MASTER_SITES=  # none
 DISTFILES=     # none
diff -r 699348fff691 -r e6b9b2cbba48 textproc/mdoclint/files/mdoclint
--- a/textproc/mdoclint/files/mdoclint  Tue May 16 12:47:22 2017 +0000
+++ b/textproc/mdoclint/files/mdoclint  Tue May 16 13:27:39 2017 +0000
@@ -1,7 +1,7 @@
 #!@PERL5@
 #
 # $OpenBSD: mdoclint,v 1.48 2016/01/24 20:10:48 schwarze Exp $
-# $NetBSD: mdoclint,v 1.71 2017/05/15 09:33:03 wiz Exp $
+# $NetBSD: mdoclint,v 1.72 2017/05/16 13:27:39 wiz Exp $
 #
 # Copyright (c) 2001-2017 Thomas Klausner
 # All rights reserved.
@@ -42,7 +42,7 @@
 };
 
 use vars qw(
-       $opt_D $opt_d $opt_e $opt_F $opt_f $opt_H $opt_h $opt_l
+       $opt_D $opt_d $opt_e $opt_F $opt_f $opt_h $opt_l
        $opt_m $opt_n $opt_o $opt_p $opt_r $opt_S $opt_v $opt_w
        $opt_X $opt_x
 );
@@ -64,7 +64,6 @@
        -e      warn about unsorted errors (for functions)
        -F      fix whitespace problems (asks before overwriting)
        -f      warn about possible incorrect .Fn syntax
-       -H      warn about characters that produce problems in HTML output
        -h      display this help text
        -l      warn about unknown libraries
        -m      warn about man pages that are not in mdoc(7) format
@@ -247,7 +246,7 @@
        $opt_h and usage();
 
        # default to all warnings if no flag is set
-       unless ($opt_D or $opt_d or $opt_e or $opt_f or $opt_H or $opt_l
+       unless ($opt_D or $opt_d or $opt_e or $opt_f or $opt_l
                or $opt_m or $opt_n or $opt_o or $opt_p or $opt_r
                or $opt_S or $opt_X or $opt_x) {
                $opt_D = $opt_d = $opt_f = $opt_m =
@@ -443,18 +442,6 @@
        if (/^\.Fn.*,.+/o) {
                $s->warning("possible .Fn misuse: `$_'") if $opt_f;
        }
-       if (OPENBSD) {
-               if (/^(?:[<>])/o or /[^\\][<>]/o) {
-                       $s->warning("use \*(Lt \*(Gt (or .Aq) ",
-                           "instead of < >: `$_'") if $opt_H;
-               }
-       }
-       if (NETBSD) {
-               if (/^(?:[<>&])/o or /[^\\][<>&]/o) {
-                       $s->warning("use \*[Lt] \*[Gt] (or .Aq) \*[Am] ",
-                           "instead of < > &: `$_'") if $opt_H;
-               }
-       }
 
        if (/\b(Free|Net|DragonFly|Open)BSD\b/o
            and not /\b(?:www|ftp)\.(?:Free|Net|DragonFly|Open)BSD\.org\b/o
diff -r 699348fff691 -r e6b9b2cbba48 textproc/mdoclint/files/mdoclint.1
--- a/textproc/mdoclint/files/mdoclint.1        Tue May 16 12:47:22 2017 +0000
+++ b/textproc/mdoclint/files/mdoclint.1        Tue May 16 13:27:39 2017 +0000
@@ -1,5 +1,5 @@
 .\"    $OpenBSD: mdoclint.1,v 1.7 2009/04/13 19:06:38 jmc Exp $
-.\" $NetBSD: mdoclint.1,v 1.17 2017/05/14 18:04:23 wiz Exp $
+.\" $NetBSD: mdoclint.1,v 1.18 2017/05/16 13:27:39 wiz Exp $
 .\"
 .\" Copyright (c) 2001-2013 Thomas Klausner
 .\" All rights reserved.
@@ -25,7 +25,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd May 14, 2017
+.Dd May 15, 2017
 .Dt MDOCLINT 1
 .Os
 .Sh NAME
@@ -33,7 +33,7 @@
 .Nd man page verifier
 .Sh SYNOPSIS
 .Nm
-.Op Fl DdeFfHhlmnoprSvwXx
+.Op Fl DdeFfhlmnoprSvwXx
 .Ar
 .Sh DESCRIPTION
 .Nm
@@ -43,7 +43,7 @@
 If no flags are given,
 .Fl DdeflmnoprSXx
 is assumed (that is, everything except
-.Fl FHhvw ) .
+.Fl Fhvw ) .
 .Pp
 The options are as follows:
 .Bl -tag -width xxxx -compact
@@ -60,21 +60,6 @@
 .Sq \&"
 separately, not together and separated by commas.
 Those will be automatically added by mdoc.
-.It Fl H
-Show warnings for characters that might generate problems in
-HTML output:
-.Sq \*[Lt] ,
-.Sq \*[Gt] ,
-and
-.Sq \*[Am] .
-Replace a pair of angle quotes with the .Aq macro.
-Otherwise, the replacements are
-.Dq \e*[Lt] ,
-.Dq \e*[Gt] ,
-and
-.Dq \e*[Am] .
-This option is off by default,
-as these characters no longer pose any problems.
 .It Fl h
 Display usage.
 .It Fl l
@@ -140,9 +125,11 @@
 .Xr mdoc.samples 7
 .Sh AUTHORS
 .An Thomas Klausner
-.Aq wiz%netbsd.org@localhost
+.Aq Mt wiz%NetBSD.org@localhost
 .An Marc Espie
-.Aq espie%openbsd.org@localhost
+.Aq Mt espie%OpenBSD.org@localhost
+.An Ingo Schwarze
+.Aq Mt schwarze%usta.de@localhost
 .Sh BUGS
 The
 .Fl o



Home | Main Index | Thread Index | Old Index