[PATCH] Building www from cvs

Devon H. O'Dell dodell at sitetronics.com
Mon Feb 28 07:44:54 UTC 2005


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



More information about the freebsd-doc mailing list