pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint No substitutions are needed for the p...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f247fef3e565
branches: trunk
changeset: 523323:f247fef3e565
user: rillig <rillig%pkgsrc.org@localhost>
date: Sat Jan 06 13:31:26 2007 +0000
description:
No substitutions are needed for the pkglint manual page.
Re-added a post-install selftest to detect syntax errors in pkglint.pl.
diffstat:
pkgtools/pkglint/Makefile | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r 47c905d4c4da -r f247fef3e565 pkgtools/pkglint/Makefile
--- a/pkgtools/pkglint/Makefile Sat Jan 06 12:41:00 2007 +0000
+++ b/pkgtools/pkglint/Makefile Sat Jan 06 13:31:26 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.355 2006/12/27 15:52:16 joerg Exp $
+# $NetBSD: Makefile,v 1.356 2007/01/06 13:31:26 rillig Exp $
#
DISTNAME= pkglint-4.74
@@ -29,7 +29,7 @@
SUBST_CLASSES+= pkglint
SUBST_STAGE.pkglint= post-configure
SUBST_FILES.pkglint+= lintpkgsrc.0 lintpkgsrc.1 lintpkgsrc.pl
-SUBST_FILES.pkglint+= pkglint.0 pkglint.1 pkglint.pl
+SUBST_FILES.pkglint+= pkglint.pl
SUBST_FILES.pkglint+= plist-clash.pl
.if defined(BATCH)
SUBST_SED.pkglint+= -e s\|@PKGSRCDIR@\|/usr/pkgsrc\|g
@@ -49,7 +49,7 @@
quick-install:
${RM} -rf ${WRKSRC}
${MKDIR} ${WRKSRC}
- ${MAKE} do-extract subst-pkglint do-install post-install clean
+ ${MAKE} do-extract subst-pkglint do-install selftest clean
do-extract:
cd ${FILESDIR} && ${CP} lintpkgsrc.0 lintpkgsrc.1 lintpkgsrc.pl pkglint.0 pkglint.1 pkglint.pl plist-clash.pl ${WRKSRC}
@@ -67,4 +67,7 @@
${INSTALL_DATA} ${FILESDIR}/makevars.map ${DESTDIR}${PREFIX}/share/pkglint/
${INSTALL_DATA} ${FILESDIR}/deprecated.map ${DESTDIR}${PREFIX}/share/pkglint/
+selftest: .PHONY
+ ${LOCALBASE}/bin/pkglint
+
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index