Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Apr 1997 11:58:12 -0700 (PDT)
From:      Mike Pritchard <mpp>
To:        freebsd-bugs
Subject:   misc/3237
Message-ID:  <199704091858.LAA08475@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.prog.mk>. 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:




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704091858.LAA08475>