diff options
author | rillig <rillig@pkgsrc.org> | 2007-01-06 13:31:26 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-01-06 13:31:26 +0000 |
commit | 15030772f739caadcf70c1f470ada407ec4c137d (patch) | |
tree | e9f483c3a523ae34c0502e84e883a4f4ab877532 /pkgtools | |
parent | 4f1cb2a501b1066ef626e84c8a900e9868104f7c (diff) | |
download | pkgsrc-15030772f739caadcf70c1f470ada407ec4c137d.tar.gz |
No substitutions are needed for the pkglint manual page.
Re-added a post-install selftest to detect syntax errors in pkglint.pl.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile index e0cb1f9106f..1f2d42ae99b 100644 --- a/pkgtools/pkglint/Makefile +++ b/pkgtools/pkglint/Makefile @@ -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 @@ INSTALLATION_DIRS= bin ${PKGMANDIR}/cat1 ${PKGMANDIR}/man1 share/pkglint 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 @@ SUBST_SED.pkglint+= -e s\|@DATADIR@\|${PREFIX}/share/pkglint\|g 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 @@ do-install: ${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" |