Re: [Boost-docs] Doc build failure on release branch

Subject: Re: [Boost-docs] Doc build failure on release branch
From: Eric Niebler (eric_at_[hidden])
Date: 2008-10-08 23:28:22


Daniel James wrote:
> I tried using my patch to build the
> documentation, and ran into this:
>
> http://svn.boost.org/trac/boost/browser/trunk/tools/build/v2/tools/common.jam?rev=48570#L510
>

I have patched my copy of common.jam locally to work around this
problem. The diff is:

Index: tools/common.jam
===================================================================
--- tools/common.jam (revision 49130)
+++ tools/common.jam (working copy)
@@ -505,6 +505,10 @@
      {
          return "set $(variable)=$(value)$(nl)" ;
      }
+ else if [ os.name ] = CYGWIN
+ {
+ return "export $(variable)=$(value)$(nl)" ;
+ }
      else
      {
          # (todo)

It seems to work just fine for me. I'm not sure if it's the Right Fix.
Perhaps someone more knowledgeable can have a look.

-- 
Eric Niebler
BoostPro Computing
http://www.boostpro.com

This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:40 UTC