Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 May 1996 06:35:33 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        wollman@lcs.mit.edu, wosch@cs.tu-berlin.de
Cc:        current@FreeBSD.org
Subject:   Re: Files installed to /etc, (was: review request)
Message-ID:  <199604302035.GAA21739@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> 4. A target for executable scripts

>> SCRIPTS= pagesize.sh	# blubber.pl foo.elc

>Far better:

>PROG=	pagesize

`PROG' is now for C programs only (PROG without SRCS means that ${PROG}
is to be built from ${PROG}.o ...

>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'.)

The cp case can be handled by install.

Bruce



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