[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-doc
Subject:    [PATCH] Building www from cvs
From:       "Devon H. O'Dell" <dodell () sitetronics ! com>
Date:       2005-02-28 7:44:51
Message-ID: 1109576691.3934.23.camel () localhost ! localdomain
[Download RAW message or body]

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

_______________________________________________
freebsd-doc@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to "freebsd-doc-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic