pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/install Use filtered plist for install-strip-debug ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/41bb11e7899a
branches:  trunk
changeset: 398570:41bb11e7899a
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Sep 02 22:05:42 2009 +0000

description:
Use filtered plist for install-strip-debug and install-man-handling,
simplifying the latter.

diffstat:

 mk/install/install.mk |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 084706188a1b -r 41bb11e7899a mk/install/install.mk
--- a/mk/install/install.mk     Wed Sep 02 21:19:53 2009 +0000
+++ b/mk/install/install.mk     Wed Sep 02 22:05:42 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: install.mk,v 1.53 2009/09/02 14:40:41 joerg Exp $
+# $NetBSD: install.mk,v 1.54 2009/09/02 22:05:42 joerg Exp $
 #
 # This file provides the code for the "install" phase.
 #
@@ -341,7 +341,7 @@
 .PHONY: install-strip-debug
 install-strip-debug: plist
        @${STEP_MSG} "Automatic stripping of debug information"
-       ${RUN}${CAT} ${PLIST} \
+       ${RUN}${CAT} ${_PLIST_NOKEYWORDS} \
        | ${SED} -e 's|^|${DESTDIR}${PREFIX}/|' \
        | ${XARGS} ${STRIP} -g 2>/dev/null || ${TRUE}
 
@@ -367,8 +367,7 @@
 install-doc-handling: plist
        @${STEP_MSG} "Automatic manual page handling"
        ${RUN} \
-       ${CAT} ${PLIST} \
-       | ${GREP} -v "^@" \
+       ${CAT} ${_PLIST_NOKEYWORDS} \
        | ${EGREP} ${_PLIST_REGEXP.man:Q} \
        | ${_DOC_COMPRESS}
 



Home | Main Index | Thread Index | Old Index