Suppress duplicate entries in ALLFILES, FILES, INCS, DEPINCS, INFOFILES,

NLSALL, CATPAGES, MANPAGES, HTMLPAGES, and SCRIPTS.
This commit is contained in:
sommerfeld 2001-05-08 03:19:51 +00:00
parent c85f9c433b
commit 263f3e581d
8 changed files with 19 additions and 19 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.doc.mk,v 1.48 2000/06/06 09:53:29 mycroft Exp $
# $NetBSD: bsd.doc.mk,v 1.49 2001/05/08 03:19:51 sommerfeld Exp $
# @(#)bsd.doc.mk 8.1 (Berkeley) 8/14/93
.if !target(__initialized__)
@ -62,7 +62,7 @@ __docinstall: .USE
${INSTALL} ${RENAME} ${PRESERVE} ${INSTPRIV} -c -o ${DOCOWN} \
-g ${DOCGRP} -m ${DOCMODE} ${.ALLSRC} ${.TARGET}
.for F in ${ALLFILES}
.for F in ${ALLFILES:O:u}
.if !defined(BUILD) && !make(all) && !make(${F})
${DESTDIR}${DOCDIR}/${DIR}/${F}: .MADE
.endif

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.files.mk,v 1.14 2000/06/10 14:12:03 mycroft Exp $
# $NetBSD: bsd.files.mk,v 1.15 2001/05/08 03:19:52 sommerfeld Exp $
# This file can be included multiple times. It clears the definition of
# FILES at the end so that this is possible.
@ -25,7 +25,7 @@ __fileinstall: .USE
-m ${FILESMODE_${.ALLSRC:T}:U${FILESMODE}} \
${.ALLSRC} ${.TARGET}
.for F in ${FILES}
.for F in ${FILES:O:u}
.if !defined(BUILD) && !make(all) && !make(${F})
${DESTDIR}${FILESDIR_${F}:U${FILESDIR}}/${FILESNAME_${F}:U${FILESNAME:U${F:T}}}: .MADE
.endif

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.inc.mk,v 1.16 2000/06/06 09:53:29 mycroft Exp $
# $NetBSD: bsd.inc.mk,v 1.17 2001/05/08 03:19:52 sommerfeld Exp $
.PHONY: incinstall
includes: ${INCS} incinstall
@ -18,7 +18,7 @@ __incinstall: .USE
${INSTALL} ${RENAME} ${PRESERVE} ${INSTPRIV} -c -o ${BINOWN} \
-g ${BINGRP} -m ${NONBINMODE} ${.ALLSRC} ${.TARGET})
.for I in ${INCS}
.for I in ${INCS:O:u}
${DESTDIR}${INCSDIR}/$I: $I __incinstall
.endfor
.endif

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.info.mk,v 1.18 2000/06/10 14:12:04 mycroft Exp $
# $NetBSD: bsd.info.mk,v 1.19 2001/05/08 03:19:52 sommerfeld Exp $
.if !target(__initialized__)
__initialized__:
@ -50,7 +50,7 @@ __infoinstall: .USE
@${INSTALL_INFO} --remove --info-dir=${DESTDIR}${INFODIR} ${.TARGET}
${INSTALL_INFO} --info-dir=${DESTDIR}${INFODIR} ${.TARGET}
.for F in ${INFOFILES}
.for F in ${INFOFILES:O:u}
.if !defined(BUILD) && !make(all) && !make(${F})
${DESTDIR}${INFODIR_${F}:U${INFODIR}}/${INFONAME_${F}:U${INFONAME:U${F:T}}}: .MADE
.endif

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.kinc.mk,v 1.17 2000/07/07 04:35:35 cgd Exp $
# $NetBSD: bsd.kinc.mk,v 1.18 2001/05/08 03:19:52 sommerfeld Exp $
# System configuration variables:
#
@ -91,7 +91,7 @@ __incinstall: .USE
${INSTALL} ${RENAME} ${PRESERVE} ${INSTPRIV} -c -o ${BINOWN} \
-g ${BINGRP} -m ${NONBINMODE} ${.ALLSRC} ${.TARGET})
.for I in ${INCS}
.for I in ${INCS:O:u}
${DESTDIR}${INCSDIR}/$I: $I __incinstall
.endfor
.endif
@ -110,7 +110,7 @@ __depincinstall: .USE
${INSTALL} ${RENAME} ${PRESERVE} -c -o ${BINOWN} -g ${BINGRP} \
-m ${NONBINMODE} ${.ALLSRC} ${.TARGET})
.for I in ${DEPINCS}
.for I in ${DEPINCS:O:u}
${DESTDIR}${INCSDIR}/$I: $I __depincinstall
.endfor
.endif

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.man.mk,v 1.60 2001/03/21 04:04:15 simonb Exp $
# $NetBSD: bsd.man.mk,v 1.61 2001/05/08 03:19:52 sommerfeld Exp $
# @(#)bsd.man.mk 8.1 (Berkeley) 6/8/93
.if !target(__initialized__)
@ -102,7 +102,7 @@ catpages:: ${CATPAGES:@P@${DESTDIR}${MANDIR}/${P:T:E}${MANSUBDIR}/${P:T:R}.0${MC
.PHONY: ${CATPAGES:@P@${DESTDIR}${MANDIR}/${P:T:E}${MANSUBDIR}/${P:T:R}.0${MCOMPRESSSUFFIX}@}
.endif
. for P in ${CATPAGES}
. for P in ${CATPAGES:O:u}
. if !defined(BUILD) && !make(all) && !make(${P})
${DESTDIR}${MANDIR}/${P:T:E}${MANSUBDIR}/${P:T:R}.0${MCOMPRESSSUFFIX}: .MADE
. endif
@ -120,7 +120,7 @@ manpages:: ${MANPAGES:@P@${DESTDIR}${MANDIR}/man${P:T:E}${MANSUBDIR}/${P}${MCOMP
.PHONY: ${MANPAGES:@P@${DESTDIR}${MANDIR}/man${P:T:E}${MANSUBDIR}/${P}${MCOMPRESSSUFFIX}@}
.endif
. for P in ${MANPAGES}
. for P in ${MANPAGES:O:u}
${DESTDIR}${MANDIR}/man${P:T:E}${MANSUBDIR}/${P}${MCOMPRESSSUFFIX}: ${P} __installpage
. endfor
.else
@ -173,7 +173,7 @@ manlinks: manpages
html: ${HTMLPAGES}
.if defined(HTMLPAGES) && !empty(HTMLPAGES)
.for P in ${HTMLPAGES}
.for P in ${HTMLPAGES:O:u}
${HTMLDIR}/${P:T:E}/${P:T:R}.html: ${P}
${MINSTALL} ${.ALLSRC} ${.TARGET}
.endfor

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.nls.mk,v 1.26 2000/06/08 03:51:56 mycroft Exp $
# $NetBSD: bsd.nls.mk,v 1.27 2001/05/08 03:19:52 sommerfeld Exp $
.if !target(__initialized__)
__initialized__:
@ -54,7 +54,7 @@ __nlsinstall: .USE
${INSTALL} ${RENAME} ${PRESERVE} ${COPY} ${INSTPRIV} -o ${NLSOWN} \
-g ${NLSGRP} -m ${NLSMODE} ${.ALLSRC} ${.TARGET}
.for F in ${NLSALL}
.for F in ${NLSALL:O:u}
.if !defined(BUILD) && !make(all) && !make(${F})
${DESTDIR}${NLSDIR}/${F:T:R}/${NLSNAME}.cat: .MADE
.endif

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.prog.mk,v 1.129 2001/02/19 07:56:14 jmc Exp $
# $NetBSD: bsd.prog.mk,v 1.130 2001/05/08 03:19:52 sommerfeld Exp $
# @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
.if !target(__initialized__)
@ -197,7 +197,7 @@ __scriptinstall: .USE
-m ${SCRIPTSMODE_${.ALLSRC:T}:U${SCRIPTSMODE}} \
${.ALLSRC} ${.TARGET}
.for S in ${SCRIPTS}
.for S in ${SCRIPTS:O:u}
.if !defined(BUILD) && !make(all) && !make(${S})
${DESTDIR}${SCRIPTSDIR_${S}:U${SCRIPTSDIR}}/${SCRIPTSNAME_${S}:U${SCRIPTSNAME:U${S:T:R}}}: .MADE
.endif