Subject: Re: make update
To: None <rh@vip.at>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: tech-pkg
Date: 08/28/1999 03:47:50
On Fri, 27 Aug 1999, Rene Hexel wrote:
>   If nobody objects, I will commit this in the next days ...

Don't forget Packages.txt, please. (I think there's more to update - don't
we have some manpages for that stuff too? packages(?) ...)


> +	${_PKG_SILENT}${_PKG_DEBUG}${MAKE} reinstall

Why "reinstall"? "clean" & "${INSTALL_TARGET}" seem more safe to me (I
usually have INSTALL_TARGET=package ...).

"make reinstall" may end up re-installing (hence the name :-) a old
version still flying around.


> +	${_PKG_SILENT}${_PKG_DEBUG}					\
> +	if [ -s ${DDIR} ] ; then					\
> +		for dep in `${CAT} ${DDIR}` ; do			\
> +			${ECHO_MSG} "===>  Reinstalling in $${dep}" ;	\
> +			(cd "../../$${dep}" ; ${MAKE} reinstall) ;	\

see above - same here. 

BTW, I like the idea of "pkg_info -b" for the work dir.


 - Hubert

-- 
NetBSD - Better for your uptime than Viagra