diff options
author | joerg <joerg> | 2007-08-20 10:59:53 +0000 |
---|---|---|
committer | joerg <joerg> | 2007-08-20 10:59:53 +0000 |
commit | a113c4cd41f224f00c732e1860a8d80ba845ff6f (patch) | |
tree | 4f095fdb200feda9d8c5198fdb97cf00a1902e1d /mk/plist | |
parent | fe83a316f928606da2b9f913338a3189e88ec4d0 (diff) | |
download | pkgsrc-a113c4cd41f224f00c732e1860a8d80ba845ff6f.tar.gz |
For DESTDIR operation, no need to filter out old files.
Diffstat (limited to 'mk/plist')
-rw-r--r-- | mk/plist/print-plist.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/mk/plist/print-plist.mk b/mk/plist/print-plist.mk index ff2daa0e58b..f523f0c3069 100644 --- a/mk/plist/print-plist.mk +++ b/mk/plist/print-plist.mk @@ -1,4 +1,4 @@ -# $NetBSD: print-plist.mk,v 1.14 2007/07/31 19:51:01 jlam Exp $ +# $NetBSD: print-plist.mk,v 1.15 2007/08/20 10:59:53 joerg Exp $ ### ### Automatic PLIST generation @@ -95,10 +95,17 @@ _PRINT_PLIST_COMMON_DIRS!= ${AWK} 'BEGIN { \ # XXX will fail for data files that were copied using tar (e.g. emacs)! # XXX should check $LOCALBASE and $X11BASE, and add @cwd statements +.if ${_USE_DESTDIR} == "no" _PRINT_PLIST_FILES_CMD= \ ${FIND} ${DESTDIR}${PREFIX}/. -xdev -newer ${_COOKIE.extract} \! -type d -print _PRINT_PLIST_DIRS_CMD= \ ${FIND} ${DESTDIR}${PREFIX}/. -xdev -newer ${_COOKIE.extract} -type d -print +.else +_PRINT_PLIST_FILES_CMD= \ + ${FIND} ${DESTDIR}${PREFIX}/. \! -type d -print +_PRINT_PLIST_DIRS_CMD= \ + ${FIND} ${DESTDIR}${PREFIX}/. -type d -print +.endif .if !empty(LIBTOOLIZE_PLIST:M[yY][eE][sS]) _PRINT_PLIST_LIBTOOLIZE_FILTER?= \ |