From owner-freebsd-current@FreeBSD.ORG Tue Sep 30 05:17:59 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7576A16A4B3 for ; Tue, 30 Sep 2003 05:17:59 -0700 (PDT) Received: from vohkoohe.univ-ubs.fr (vohkoohe.univ-ubs.fr [193.52.32.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB0824401E for ; Tue, 30 Sep 2003 05:17:55 -0700 (PDT) (envelope-from luc.beurton@univ-ubs.fr) Received: from black-kettle.univ-ubs.fr (black-kettle.ipv6.univ-ubs.fr [IPv6:2001:660:285:2:2b0:d0ff:fe0c:dda2]) by vohkoohe.univ-ubs.fr (8.12.9/8.12.6) with SMTP id h8UCHrPO099181 for ; Tue, 30 Sep 2003 14:17:53 +0200 (CEST) (envelope-from luc.beurton@univ-ubs.fr) Received: by black-kettle.univ-ubs.fr (sSMTP sendmail emulation); Tue, 30 Sep 2003 12:14:24 +0000 From: "Luc Beurton" Date: Tue, 30 Sep 2003 12:14:24 +0000 To: freebsd-current@freebsd.org Message-ID: <20030930121424.GA12318@black-kettle.univ-ubs.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Whois: LB895-ARIN, LB2868-RIPE, LBR262, LB670-FRNIC X-Scanned-By: MIMEDefang 2.30 (www . roaringpenguin . com / mimedefang) Subject: question about src/etc/Makefile X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2003 12:17:59 -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.