From owner-freebsd-doc Mon Mar 10 15:31:22 2003 Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0EB737B401 for ; Mon, 10 Mar 2003 15:31:19 -0800 (PST) Received: from arthur.nitro.dk (port324.ds1-khk.adsl.cybercity.dk [212.242.113.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA38343F3F for ; Mon, 10 Mar 2003 15:31:18 -0800 (PST) (envelope-from simon@arthur.nitro.dk) Received: by arthur.nitro.dk (Postfix, from userid 1000) id 8C31910BF94; Tue, 11 Mar 2003 00:31:17 +0100 (CET) Date: Tue, 11 Mar 2003 00:31:17 +0100 From: "Simon L. Nielsen" To: freebsd-doc@freebsd.org Subject: FreeBSD from scratch doesn't work with OBJDIR Message-ID: <20030310233116.GA1251@nitro.dk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7iMSBzlTiPOCCT2k" Content-Disposition: inline User-Agent: Mutt/1.5.3i Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --7iMSBzlTiPOCCT2k Content-Type: multipart/mixed; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello If the obj directory exists (by doing 'make obj') the FreeBSD from scrath article breaks the doc build. I have attached a patch that unbreaks the build and install the shell scripts (stage_[123].sh) correctly to the destination dir. Btw. this could be done in a more clean way using FILES (from bsd.files.mk) but the doc build system does not seem to support this? The inline versions in the article still don't work with obj directory but I don't know how to fix that... --=20 Simon L. Nielsen --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="doc-fbsd-scract-obj-build.patch" Content-Transfer-Encoding: quoted-printable Index: Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/doc/en_US.ISO8859-1/articles/fbsd-from-scratch/Makefil= e,v retrieving revision 1.1 diff -u -d -r1.1 Makefile --- Makefile 8 Mar 2003 08:26:10 -0000 1.1 +++ Makefile 10 Mar 2003 23:10:11 -0000 @@ -18,6 +18,8 @@ DOC_PREFIX?=3D ${.CURDIR}/../../.. =20 afterinstall: - ${INSTALL_DOCS} stage_1.sh stage_2.sh stage_3.mk ${DESTDIR} + ${INSTALL_DOCS} ${.CURDIR}/stage_1.sh ${DESTDIR} + ${INSTALL_DOCS} ${.CURDIR}/stage_2.sh ${DESTDIR} + ${INSTALL_DOCS} ${.CURDIR}/stage_3.mk ${DESTDIR} =20 .include "${DOC_PREFIX}/share/mk/doc.project.mk" --FCuugMFkClbJLl1L-- --7iMSBzlTiPOCCT2k Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+bSBE8kocFXgPTRwRAlgoAJ9bHa+oltgDpzV6Soq056XUSWU/6gCcDH89 CtbH6PeDxAHCpows/GNLlDU= =ZxY0 -----END PGP SIGNATURE----- --7iMSBzlTiPOCCT2k-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message