From owner-freebsd-bugs Wed Apr 9 11:58:14 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA08483 for bugs-outgoing; Wed, 9 Apr 1997 11:58:14 -0700 (PDT) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA08475 for freebsd-bugs; Wed, 9 Apr 1997 11:58:12 -0700 (PDT) From: Mike Pritchard Message-Id: <199704091858.LAA08475@freefall.freebsd.org> Subject: misc/3237 To: freebsd-bugs Date: Wed, 9 Apr 1997 11:58:12 -0700 (PDT) X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Here is a copy of a misfiled PR: >Number: 3237 >Category: misc >Synopsis: SCRIPTS addition to bsd.prog.mk >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Apr 8 23:10:02 PDT 1997 >Last-Modified: Wed Apr 9 11:57:31 PDT 1997 >Originator: Julian Assange >Organization: >Release: FreeBSD 3.0-CURRENT i386 >Environment: >Description: It is painful install executeable bourne/perl/tcl etc scripts, and there currently exists no rule to do this within . PROG is completely C oriented. >How-To-Repeat: >Fix: The following patch permits one to use this construct: #makefile SCRIPTS= dress devil red in --- bsd.prog.mk~ Wed Apr 9 15:25:03 1997 +++ bsd.prog.mk Wed Apr 9 15:25:03 1997 @@ -97,6 +97,12 @@ .endif realinstall: beforeinstall +.if defined(SCRIPTS) +.for script in ${SCRIPTS} + ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ + ${INSTALLFLAGS} ${script} ${DESTDIR}${BINDIR} +.endfor +.endif .if defined(PROG) ${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ ${INSTALLFLAGS} ${PROG} ${DESTDIR}${BINDIR} >Audit-Trail: Responsible-Changed-From-To: gnats-admin->freebsd-bugs Responsible-Changed-By: mpp Responsible-Changed-When: Wed Apr 9 11:57:05 PDT 1997 Responsible-Changed-Why: Misfiled PR. >Unformatted: