summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-01-25 22:04:26 +0000
committerrillig <rillig@pkgsrc.org>2006-01-25 22:04:26 +0000
commit95d3203cb2432d47d966bc319e83548f85809829 (patch)
tree7bd8796f8907aa2fad65883efad1a923206aa171 /pkgtools
parent97d9216fc400e2cbe6ddddfd0805b78d8808ae79 (diff)
downloadpkgsrc-95d3203cb2432d47d966bc319e83548f85809829.tar.gz
Added a ``quick-install'' target that allows me to install pkglint in three
seconds instead of 40.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile
index 89710fd76b4..606ca22b0fe 100644
--- a/pkgtools/pkglint/Makefile
+++ b/pkgtools/pkglint/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.324 2006/01/20 13:46:04 rillig Exp $
+# $NetBSD: Makefile,v 1.325 2006/01/25 22:04:26 rillig Exp $
#
DISTNAME= pkglint-4.54
@@ -42,6 +42,13 @@ SUBST_SED.pkglint+= -e 's|@DATADIR@|${PREFIX}/share/pkglint|g'
.include "../../mk/bsd.prefs.mk"
+# Note: This target is only intended for use by the pkglint author.
+.PHONY: quick-install
+quick-install:
+ ${RM} -rf ${WRKSRC:Q}
+ ${MKDIR} ${WRKSRC:Q}
+ ${MAKE} do-extract subst-pkglint do-install
+
do-extract:
cd ${FILESDIR:Q} && ${CP} lintpkgsrc.0 lintpkgsrc.1 lintpkgsrc.pl pkglint.0 pkglint.1 pkglint.pl plist-clash.pl ${WRKSRC:Q}