Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Feb 2005 08:44:51 +0100
From:      "Devon H. O'Dell" <dodell@sitetronics.com>
To:        freebsd-doc@freebsd.org
Subject:   [PATCH] Building www from cvs
Message-ID:  <1109576691.3934.23.camel@localhost.localdomain>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1109576691.3934.23.camel>