Re: svn commit: r51065 - head/share/mk

Mathieu Arnold <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
Le 01/12/2017 à 17:44, Wolfram Schneider a écrit :
> On 29 November 2017 at 15:53, Mathieu Arnold <[email protected]> wrote:
>> Le 06/10/2017 à 12:44, Wolfram Schneider a écrit :
>>> Author: wosch
>>> Date: Fri Oct  6 10:44:00 2017
>>> New Revision: 51065
>>> URL: https://svnweb.freebsd.org/changeset/doc/51065
>>>
>>> Log:
>>>   'make obj' doesn't really work for the docs, disable it by default
>>>
>>>       PR: 222488
>>
>> It does if you run:
>>
>> make obj && make objlink && make <whatever you want>
>>
>> now I have to carry a local patch that arcanist keeps complaining about :(
> what is arcanist and where does we use it in the documentation build?
> At which point our build process depends on "obj"?

Unless I misunderstand how all this works, using MAKEOBJDIRPREFIX
requires obj. I work on different branches at the same time, so I set:

  current_branch=$(git rev-parse --abbrev-ref HEAD)
  export MAKEOBJDIRPREFIX=/tmp/doc/${current_branch}/obj

to make sure the different branches are build in different places.

> BTW, I didn't removed the obj code. It is just disabled by default for
> the doc project. You can enable it again by setting the env variables.


The only way to re-enable the objcode is to remove that line. Which then
makes my checkout unclean, which many tools complain about. (arcanist
being one of them, but git svn complains too.)


-- 
Mathieu Arnold

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.