Date: Sat, 4 May 1996 20:33:36 +0200 From: Wolfram Schneider <wosch@cs.tu-berlin.de> To: Garrett Wollman <wollman@lcs.mit.edu> Cc: current@FreeBSD.org Subject: Re: Files installed to /etc, (was: review request) Message-ID: <199605041833.UAA01692@localhost> In-Reply-To: <9604301822.AA22772@halloran-eldar.lcs.mit.edu> References: <199604292241.PAA05374@phaeton.artisoft.com> <23826.830823868@time.cdrom.com> <199604301549.RAA01126@localhost> <9604301822.AA22772@halloran-eldar.lcs.mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
The target `scriptinstall' works for all script languages extensions (.sh, .csh, .perl, .pl, .tcl, .el) and you can install more than one script (PROG support only one program). FreeBSD has ~33 bourne shell scripts, 9 perl scripts and 1 csh script. >>scriptinstall: >>.for __script in ${SCRIPTS} >> ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ >> ${.CURDIR}/${__script} ${DESTDIR}/${BINDIR}/${__script:R} >>.endfor >> >Far better: > >PROG= pagesize > >bsd.prog.mk: >------------------------------------ >.sh: >.if defined(SCRIPTSED) > ${SCRIPTSED} < ${.IMPSRC} > ${.TARGET} >.else > cp ${.IMPSRC} ${.TARGET} > > chmod 755 ${.TARGET} >------------------------------------ >(And remember to turn off `-s' in `realinstall'.)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605041833.UAA01692>