From owner-freebsd-doc@FreeBSD.ORG Mon Feb 28 07:44:54 2005 Return-Path: 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 1E10A16A4CE for ; Mon, 28 Feb 2005 07:44:54 +0000 (GMT) Received: from smtpq2.home.nl (smtpq2.home.nl [213.51.128.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF2BF43D5D for ; Mon, 28 Feb 2005 07:44:53 +0000 (GMT) (envelope-from dodell@sitetronics.com) Received: from [213.51.128.136] (port=57335 helo=smtp5.home.nl) by smtpq2.home.nl with esmtp (Exim 4.30) id 1D5faH-0006RH-2O for freebsd-doc@freebsd.org; Mon, 28 Feb 2005 08:44:53 +0100 Received: from cc740438-a.deven1.ov.home.nl ([82.72.18.239]:33063 helo=192.168.1.104) by smtp5.home.nl with esmtp (Exim 4.30) id 1D5faF-0001hn-VK for freebsd-doc@freebsd.org; Mon, 28 Feb 2005 08:44:51 +0100 From: "Devon H. O'Dell" To: freebsd-doc@freebsd.org Content-Type: text/plain Organization: SiteTronics Date: Mon, 28 Feb 2005 08:44:51 +0100 Message-Id: <1109576691.3934.23.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-3) Content-Transfer-Encoding: 7bit X-AtHome-MailScanner-Information: Please contact support@home.nl for more information X-AtHome-MailScanner: Found to be clean Subject: [PATCH] Building www from cvs X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2005 07:44:54 -0000 Hey, It's very possible I'm missing something here. When I do a www build without the doc sources, I get the error: "/usr/home/dodell/www/en/../share/mk/web.site.mk", line 134: /usr/home/dodell/www/en/../../doc/share/mk/doc.common.mk not found. Define $WITHOUT_DOC for building without the doc/ module. That's quite understandable. So I build with make -DWITHOUT_DOC : : cd: can't cd to /usr/home/dodell/www/en/doc/../../../doc/en_US.ISO8859-1 Apparently, I also need to define WEB_ONLY. Again, it's very possible that I've missed something here, but would a patch such as one of the following two (or perhaps even a combination of both) make sense? +++ en/Makefile Mon Feb 28 07:37:49 2005 @@ -60,7 +60,9 @@ SUBDIR+= snapshots SUBDIR+= tutorials .if !defined(WEB_ONLY) || empty(WEB_ONLY) +.if !defined(WITHOUT_DOC) SUBDIR+= doc +.endif SUBDIR+= ports .endif .if defined(BUILD_RELNOTES) --- share/mk/web.site.mk.old Mon Feb 28 07:41:42 2005 +++ share/mk/web.site.mk Mon Feb 28 07:42:29 2005 @@ -131,7 +131,7 @@ .include "${DOC_PREFIX}/share/mk/doc.common.mk" .else .error ${DOC_PREFIX}/share/mk/doc.common.mk not found.\ - Define $$WITHOUT_DOC for building without the doc/ module. + Define $$WITHOUT_DOC for building without the doc/ module and $ $WEB_ONLY to only build the web sources (without doc or ports). .endif .else # !defined(WITHOUT_DOC) # Kind regards, Devon H. O'Dell