Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jun 2002 17:57:01 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Masahide -mac- NODA <mac@clave.gr.jp>
Cc:        current@FreeBSD.ORG, <ru@FreeBSD.ORG>
Subject:   Re: about beforeinstall target in /usr/share/mk/*.mk
Message-ID:  <20020611174927.H4349-100000@gamplex.bde.org>
In-Reply-To: <20020610.224924.74752528.mac@clave.gr.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 10 Jun 2002, Masahide -mac- NODA wrote:

> In /usr/share/mk/bsd.*.mk, 'beforeinstall' target execute after install
> on current.
>
> You found it to doing below in current:
>
>   % cd /usr/src/share/mk
>   % make install -n
>   install -c -o root -g wheel  -m 444 bsd.README ...
>   date '+%Y%m%d' > /var/db/port.mkversion
>   %
>
> but, in makefile,
>
>   beforeinstall:
>           date '+%Y%m%d' > ${DESTDIR}/var/db/port.mkversion
>
>
> beforeinstall target execute after install.
>
> ### I found it at installing portupgrade from ports. :-)

This bug seems to be mainly in bsd.file.mk.  realinstall depends on both
installfiles and beforeinstall, but there is no dependency of installfiles
on beforeinstall.  This can probably be fixed by adding the dependency
(in bsd.files.mk).

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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