From owner-freebsd-current Sat May 4 11:58:28 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA20304 for current-outgoing; Sat, 4 May 1996 11:58:28 -0700 (PDT) Received: from mail.cs.tu-berlin.de (root@mail.cs.tu-berlin.de [130.149.17.13]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id LAA20288 for ; Sat, 4 May 1996 11:58:25 -0700 (PDT) Received: from caramba.cs.tu-berlin.de (wosch@caramba.cs.tu-berlin.de [130.149.17.12]) by mail.cs.tu-berlin.de (8.6.12/8.6.12) with ESMTP id UAA17287; Sat, 4 May 1996 20:44:43 +0200 Received: (from wosch@localhost) by localhost (8.6.12/8.6.12) id UAA01692; Sat, 4 May 1996 20:33:36 +0200 Date: Sat, 4 May 1996 20:33:36 +0200 From: Wolfram Schneider Message-Id: <199605041833.UAA01692@localhost> To: Garrett Wollman Cc: current@FreeBSD.org Subject: Re: Files installed to /etc, (was: review request) 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> Reply-to: Wolfram Schneider MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk 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'.)