[lintian] 01/01: L::Data: Remove reference to LINTIAN_ROOT
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit 845cc920f4303f4b406cde488c15e94c322e1fa3
Author: Niels Thykier <niels@thykier.net>
Date: Wed Jul 15 17:34:37 2015 +0200
L::Data: Remove reference to LINTIAN_ROOT
Signed-off-by: Niels Thykier <niels@thykier.net>
---
debian/changelog | 4 ++++
lib/Lintian/Data.pm | 18 +++---------------
2 files changed, 7 insertions(+), 15 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 8ffeed2..6b3f088 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,10 @@ lintian (2.5.34) UNRELEASED; urgency=medium
options: --root, --all, --binary, --source, --udeb.
They are no longer useful.
+ * lib/Lintian/Data.pm:
+ + [NT] Remove references to LINTIAN_ROOT as Lintian::Data
+ no longer uses it.
+
-- Niels Thykier <niels@thykier.net> Thu, 09 Jul 2015 21:50:53 +0200
lintian (2.5.33) unstable; urgency=medium
diff --git a/lib/Lintian/Data.pm b/lib/Lintian/Data.pm
index 0f6199c..e0f958c 100644
--- a/lib/Lintian/Data.pm
+++ b/lib/Lintian/Data.pm
@@ -366,25 +366,13 @@ that KEY was available.
=over 4
-=item LINTIAN_ROOT/data
+=item LINTIAN_INCLUDE_DIR/data
The files loaded by this module must be located in this directory.
Relative paths containing a C</> are permitted, so files may be organized
in subdirectories in this directory.
-=back
-
-=head1 ENVIRONMENT
-
-=over 4
-
-=item LINTIAN_ROOT
-
-This variable must be set to Lintian's root directory (normally
-F</usr/share/lintian> when Lintian is installed as a Debian package). The
-B<lintian> program normally takes care of doing this. This module doesn't
-care about the contents of this directory other than expecting the F<data>
-subdirectory of this directory to contain its files.
+Note that lintian supports multiple LINTIAN_INCLUDE_DIRs.
=back
@@ -394,7 +382,7 @@ Originally written by Russ Allbery <rra@debian.org> for Lintian.
=head1 SEE ALSO
-lintian(1)
+lintian(1), L<https://lintian.debian.org/manual/section-2.6.html>
=cut
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: