[BACK]Return to bsd.prog.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / share / mk

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/share/mk/bsd.prog.mk between version 1.112 and 1.113

version 1.112, 2000/04/14 03:36:13 version 1.113, 2000/06/06 05:40:47
Line 158  SCRIPTSDIR?=${BINDIR}
Line 158  SCRIPTSDIR?=${BINDIR}
 SCRIPTSOWN?=${BINOWN}  SCRIPTSOWN?=${BINOWN}
 SCRIPTSGRP?=${BINGRP}  SCRIPTSGRP?=${BINGRP}
 SCRIPTSMODE?=${BINMODE}  SCRIPTSMODE?=${BINMODE}
 .for S in ${SCRIPTS}  
 SCRIPTSDIR_${S}?=${SCRIPTSDIR}  scriptsinstall:: ${SCRIPTS:@S@${DESTDIR}${SCRIPTSDIR_${S}:U${SCRIPTSDIR}}/${SCRIPTSNAME_${S}:U${SCRIPTSNAME:U${S:T:R}}}@}
 SCRIPTSOWN_${S}?=${SCRIPTSOWN}  
 SCRIPTSGRP_${S}?=${SCRIPTSGRP}  
 SCRIPTSMODE_${S}?=${SCRIPTSMODE}  
 .if defined(SCRIPTSNAME)  
 SCRIPTSNAME_${S} ?= ${SCRIPTSNAME}  
 .else  
 SCRIPTSNAME_${S} ?= ${S:T:R}  
 .endif  
 SCRIPTSDIR_${S} ?= ${SCRIPTSDIR}  
 scriptsinstall:: ${DESTDIR}${SCRIPTSDIR_${S}}/${SCRIPTSNAME_${S}}  
 .if !defined(UPDATE)  .if !defined(UPDATE)
 .PHONY: ${DESTDIR}${SCRIPTSDIR_${S}}/${SCRIPTSNAME_${S}}  .PHONY: ${SCRIPTS:@S@${DESTDIR}${SCRIPTSDIR_${S}:U${SCRIPTSDIR}}/${SCRIPTSNAME_${S}:U${SCRIPTSNAME:U${S:T:R}}}@}
 .endif  .endif
   .PRECIOUS: ${SCRIPTS:@S@${DESTDIR}${SCRIPTSDIR_${S}:U${SCRIPTSDIR}}/${SCRIPTSNAME_${S}:U${SCRIPTSNAME:U${S:T:R}}}@}
   
   .for S in ${SCRIPTS}
 .if !defined(BUILD) && !make(all) && !make(${S})  .if !defined(BUILD) && !make(all) && !make(${S})
 ${DESTDIR}${SCRIPTSDIR_${S}}/${SCRIPTSNAME_${S}}: .MADE  ${DESTDIR}${SCRIPTSDIR_${S}:U${SCRIPTSDIR}}/${SCRIPTSNAME_${S}:U${SCRIPTSNAME:U${S:T:R}}}: .MADE
 .endif  .endif
   ${DESTDIR}${SCRIPTSDIR_${S}:U${SCRIPTSDIR}}/${SCRIPTSNAME_${S}:U${SCRIPTSNAME:U${S:T:R}}}: ${S}
 .PRECIOUS: ${DESTDIR}${SCRIPTSDIR_${S}}/${SCRIPTSNAME_${S}}  
 ${DESTDIR}${SCRIPTSDIR_${S}}/${SCRIPTSNAME_${S}}: ${S}  
         ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} ${INSTPRIV} \          ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} ${INSTPRIV} \
             -o ${SCRIPTSOWN_${S}} -g ${SCRIPTSGRP_${S}} -m ${SCRIPTSMODE_${S}} \              -o ${SCRIPTSOWN_${S}:U${SCRIPTSOWN}} \
               -g ${SCRIPTSGRP_${S}:U${SCRIPTSGRP}} \
               -m ${SCRIPTSMODE_${S}:U${SCRIPTSMODE}} \
             ${.ALLSRC} ${.TARGET}              ${.ALLSRC} ${.TARGET}
 .endfor  .endfor
 .endif  .endif

Legend:
Removed from v.1.112  
changed lines
  Added in v.1.113

CVSweb <webmaster@jp.NetBSD.org>