question about src/etc/Makefile

From: Luc Beurton <luc.beurton_at_univ-ubs.fr>
Date: Tue, 30 Sep 2003 12:14:24 +0000
Hi,

I don't understand why boot/device.hints are installed with
distribute target instead distribution, in the Makefile:
# $FreeBSD: src/etc/Makefile,v 1.313 2003/05/06 07:25:17 dougb Exp $

I build FreeBSD-4.8 with a shell script near like this:
	export DESTDIR=/usr/src/dest/fbsd-48
	export KERNCONF=SMP
	cd /usr/src && make world
	cd /usr/src/etc && make distribution
	cd /usr/src && make buildkernel installkernel

I'll try to do the same thing with FreeBSD-5.1 but buildkernel fails
because make distribution doesn't install boot/device.hints in $DESTDIR.

/usr/sbin/mergemaster use distribution target too:
    { cd ${SOURCEDIR} &&
      case "${DESTDIR}" in
      '') ;;
      *)
      make DESTDIR=${DESTDIR} distrib-dirs
        ;;
      esac
      make DESTDIR=${TEMPROOT} distrib-dirs &&
      make MAKEOBJDIRPREFIX=${TEMPROOT}/usr/obj obj &&
      make MAKEOBJDIRPREFIX=${TEMPROOT}/usr/obj DESTDIR=${TEMPROOT} \
          distribution;} ||

Is-it an error in src/etc/Makefile ? 
Or may I have to use distribute target instead distribution ?


Luc.
Received on Tue Sep 30 2003 - 03:17:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:24 UTC