pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint Added a ``quick-install'' target that...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b56ca99b9ff1
branches:  trunk
changeset: 507084:b56ca99b9ff1
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Jan 25 22:04:26 2006 +0000

description:
Added a ``quick-install'' target that allows me to install pkglint in three
seconds instead of 40.

diffstat:

 pkgtools/pkglint/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 47fcc28f826f -r b56ca99b9ff1 pkgtools/pkglint/Makefile
--- a/pkgtools/pkglint/Makefile Wed Jan 25 21:27:45 2006 +0000
+++ b/pkgtools/pkglint/Makefile Wed Jan 25 22:04:26 2006 +0000
@@ -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 @@
 
 .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}
 



Home | Main Index | Thread Index | Old Index