[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.64 and 1.65

version 1.64, 1997/03/27 09:10:10 version 1.65, 1997/03/27 11:05:32
Line 166  ${DESTDIR}${FILESDIR_${F}}/${FILESNAME_$
Line 166  ${DESTDIR}${FILESDIR_${F}}/${FILESNAME_$
 .endif  .endif
   
 .if defined(SCRIPTS)  .if defined(SCRIPTS)
   SCRIPTSDIR?=${BINDIR}
   SCRIPTSOWN?=${BINOWN}
   SCRIPTSGRP?=${BINGRP}
   SCRIPTSMODE?=${BINMODE}
 .for S in ${SCRIPTS}  .for S in ${SCRIPTS}
   SCRIPTSDIR_${S}?=${SCRIPTSDIR}
   SCRIPTSOWN_${S}?=${SCRIPTSOWN}
   SCRIPTSGRP_${S}?=${SCRIPTSGRP}
   SCRIPTSMODE_${S}?=${SCRIPTSMODE}
 .if defined(SCRIPTSNAME)  .if defined(SCRIPTSNAME)
 SCRIPTSNAME_${S} ?= ${SCRIPTSNAME}  SCRIPTSNAME_${S} ?= ${SCRIPTSNAME}
 .else  .else
 SCRIPTSNAME_${S} ?= ${S:T:R}  SCRIPTSNAME_${S} ?= ${S:T:R}
 .endif  .endif
 proginstall:: ${DESTDIR}${BINDIR}/${SCRIPTSNAME_${S}}  SCRIPTSDIR_${S} ?= ${SCRIPTSDIR}
   proginstall:: ${DESTDIR}${SCRIPTSDIR_${S}}/${SCRIPTSNAME_${S}}
 .if !defined(UPDATE)  .if !defined(UPDATE)
 .PHONY: ${DESTDIR}${BINDIR}/${SCRIPTSNAME_${S}}  .PHONY: ${DESTDIR}${SCRIPTSDIR_${S}}/${SCRIPTSNAME_${S}}
 .endif  .endif
 .if !defined(BUILD)  .if !defined(BUILD)
 ${DESTDIR}${BINDIR}/${SCRIPTSNAME_${S}}: .MADE  ${DESTDIR}${SCRIPTSDIR_${S}}/${SCRIPTSNAME_${S}}: .MADE
 .endif  .endif
   
 ${DESTDIR}${BINDIR}/${SCRIPTSNAME_${S}}: ${S}  ${DESTDIR}${SCRIPTSDIR_${S}}/${SCRIPTSNAME_${S}}: ${S}
         ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \          ${INSTALL} ${COPY} -o ${SCRIPTSOWN_${S}} -g ${SCRIPTSGRP_${S}} \
             ${.ALLSRC} ${.TARGET}                  -m ${SCRIPTSMODE_${S}} ${.ALLSRC} ${.TARGET}
 .endfor  .endfor
 .endif  .endif
   

Legend:
Removed from v.1.64  
changed lines
  Added in v.1.65

CVSweb <webmaster@jp.NetBSD.org>