Subject: Re: Makefile rule for gettext.1
To: Alan Barrett <>
From: Luke Mewburn <>
List: current-users
Date: 07/04/2005 22:47:42
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jul 04, 2005 at 11:24:36AM +0200, Alan Barrett wrote:
  | My builds are failing due to my modified version of checkflist
  | discovering that the METALOG contains a bogus entry for ./gettext.1 (in
  | addition to the correct entry for ./usr/share/man/man1/gettext.1).
  | I tracked it down to these lines in src/gnu/usr.bin/gettext/gettext/Mak=
  | 	gettext.1: ${DIST}/gettext/gettext-runtime/man/
  | 		${INSTALL_FILE} $> $@
  | The command expands (in my build environment) to=20
  | 	STRIP=3D/usr/obj/build/TOOLDIR/bin/i386--netbsdelf-strip /usr/obj/buil=
d/TOOLDIR/bin/nbinstall -U -M /usr/obj/build/DESTDIR/METALOG -D /usr/obj/bu=
ild/DESTDIR -h sha1 -N /usr/src/etc -c -p -r /usr/src/gnu/dist/gettext/gett=
ext-runtime/man/ gettext.1
  | When invokes like that, nbinstall copies to ${OBJDIR}/gett=
  | and adds an entry for "./gettext.1" to the metalog.
  | It seems bogus to use ${INSTALL_FILE} to copy a source file to the
  | objdir.  Changing it to ${HOST_INSTALL_FILE} works better but I am not
  | sure if it's the right thing to do.

Using cp(1) is probably more appropriate.
Please submit a PR so we don't forget.

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.4.1 (NetBSD)