summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-07-27 15:48:05 +0000
committerrillig <rillig@pkgsrc.org>2006-07-27 15:48:05 +0000
commit81b0d2e5c31c6d117540e7784d4b314df81b682f (patch)
tree530d0acf64f18f62b148899b02558c59c998d341 /pkgtools/pkglint
parentc4ef7dfd2fde33eb79cf79dd00e12b80e3241ea0 (diff)
downloadpkgsrc-81b0d2e5c31c6d117540e7784d4b314df81b682f.tar.gz
Updated the man page.
Diffstat (limited to 'pkgtools/pkglint')
-rw-r--r--pkgtools/pkglint/files/pkglint.022
-rw-r--r--pkgtools/pkglint/files/pkglint.113
2 files changed, 10 insertions, 25 deletions
diff --git a/pkgtools/pkglint/files/pkglint.0 b/pkgtools/pkglint/files/pkglint.0
index 648d5669716..e101a3d87db 100644
--- a/pkgtools/pkglint/files/pkglint.0
+++ b/pkgtools/pkglint/files/pkglint.0
@@ -31,12 +31,6 @@ DDEESSCCRRIIPPTTIIOONN
--WW{{[[nnoo--]]wwaarrnn,,......}} Enable or disable specific warnings. For a list of
warnings, see below.
- --dd|----ddeebbuugg Enable warnings for parsing errors and other things
- that haven't been completed yet. This option is sep-
- arated from the `-W' options because the diagnostics
- are too hard to understand without detailed knowledge
- of pkglint's source code.
-
--ee|----eexxppllaaiinn Print further explanations for diagnostics. Some-
times the reasons for diagnostics are not obvious and
need further explanation.
@@ -55,17 +49,13 @@ DDEESSCCRRIIPPTTIIOONN
--qq|----qquuiieett Don't print the errors and warnings summary before
terminating.
- --rr Check subdirectories, too. The subdirectories are
+ --rr|----rreeccuurrssiivvee Check subdirectories, too. The subdirectories are
those that are mentioned in a `SUBDIR+=' line.
--ss|----ssoouurrccee For all diagnostics having file and line number
information, show the source code along with the
diagnostics.
- --vv|----vveerrbboossee Be verbose. Show the progress report for items that
- are being checked. If given more than once, debug-
- ging messages are also shown.
-
CChheecckkss
aallll Enable all checks.
@@ -73,6 +63,8 @@ DDEESSCCRRIIPPTTIIOONN
[[nnoo--]]AALLTTEERRNNAATTIIVVEESS Check the alternatives file.
+ [[nnoo--]]DDEESSCCRR Check the DESCR file.
+
[[nnoo--]]IINNSSTTAALLLL Check the INSTALL and DEINSTALL scripts.
[[nnoo--]]MMaakkeeffiillee Check the package Makefile, including all included
@@ -143,6 +135,9 @@ DDEESSCCRRIIPPTTIIOONN
[[nnoo--]]oorrddeerr Warn if Makefile variables are not in the preferred
order.
+ [[nnoo--]]ppeerrmm Warn if a variable is used or defined outside its
+ specified scope.
+
[[nnoo--]]pplliisstt--ddeepprr Warn if deprecated pathnames are used in _P_L_I_S_T files.
This warning is disabled by default.
@@ -192,9 +187,6 @@ DDIIAAGGNNOOSSTTIICCSS
WARN: ... Warnings generally should be fixed, but they are not as
critical as errors.
- OK: ... Informational messages are only written in verbose mode
- (--vv). Their main use is to aid debugging.
-
AAUUTTHHOORRSS
Roland Illig <rillig@NetBSD.org>
@@ -204,4 +196,4 @@ BBUUGGSS
If you don't understand the messages, feel free to ask on the
<tech-pkg@NetBSD.org> mailing list.
-NetBSD 3.0 February 28, 2006 NetBSD 3.0
+NetBSD 3.0 July 27, 2006 NetBSD 3.0
diff --git a/pkgtools/pkglint/files/pkglint.1 b/pkgtools/pkglint/files/pkglint.1
index 1f325a78fa2..ba91b514802 100644
--- a/pkgtools/pkglint/files/pkglint.1
+++ b/pkgtools/pkglint/files/pkglint.1
@@ -1,4 +1,4 @@
-.\" $NetBSD: pkglint.1,v 1.41 2006/07/02 09:47:17 rillig Exp $
+.\" $NetBSD: pkglint.1,v 1.42 2006/07/27 15:48:05 rillig Exp $
.\" From FreeBSD: portlint.1,v 1.8 1997/11/25 14:53:14 itojun Exp
.\"
.\" Copyright (c) 1997 by Jun-ichiro Itoh <itojun@itojun.org>.
@@ -7,7 +7,7 @@
.\" Roland Illig <roland.illig@gmx.de>, 2004, 2005.
.\" Roland Illig <rillig@NetBSD.org>, 2005, 2006.
.\"
-.Dd June 30, 2006
+.Dd July 27, 2006
.Dt PKGLINT 1
.Sh NAME
.Nm pkglint
@@ -51,13 +51,6 @@ version number and exit.
.It Fl W{[no-]warn,...}
Enable or disable specific warnings.
For a list of warnings, see below.
-.It Fl d Ns | Ns Fl -debug
-Enable warnings for parsing errors and other things that haven't been
-completed yet.
-This option is separated from the
-.Ql -W
-options because the diagnostics are too hard to understand without
-detailed knowledge of pkglint's source code.
.It Fl e Ns | Ns Fl -explain
Print further explanations for diagnostics.
Sometimes the reasons for diagnostics are not obvious and need further
@@ -72,7 +65,7 @@ Check if a package is ready to be imported into pkgsrc.
This is especially useful for packages from the pkgsrc-wip project.
.It Fl q Ns | Ns Fl -quiet
Don't print the errors and warnings summary before terminating.
-.It Fl r
+.It Fl r Ns | Ns Fl -recursive
Check subdirectories, too.
The subdirectories are those that are mentioned in a
.Ql SUBDIR+=