pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Improved the wording of the "Ma...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/323df68faa77
branches:  trunk
changeset: 537287:323df68faa77
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Jan 05 21:54:50 2008 +0000

description:
Improved the wording of the "Makefiles must not be included" error message.

diffstat:

 pkgtools/pkglint/files/pkglint.pl |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r fbe654f213b7 -r 323df68faa77 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Sat Jan 05 21:53:37 2008 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Sat Jan 05 21:54:50 2008 +0000
@@ -1,5 +1,5 @@
 #! @PERL@
-# $NetBSD: pkglint.pl,v 1.751 2008/01/05 18:41:02 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.752 2008/01/05 21:54:50 rillig Exp $
 #
 
 # pkglint - static analyzer and checker for pkgsrc packages
@@ -6207,7 +6207,7 @@
                        checkline_relative_path($line, $includefile);
 
                        if ($includefile =~ qr"../Makefile$") {
-                               $line->log_error("Other Makefiles must not be included.");
+                               $line->log_error("Other Makefiles must not be included directly.");
                                $line->explain_warning(
                                        "If you want to include portions of another Makefile, extract",
                                        "the common parts and put them into a Makefile.common. After",



Home | Main Index | Thread Index | Old Index