Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Dec 2017 17:44:22 +0100
From:      Wolfram Schneider <wosch@freebsd.org>
To:        Mathieu Arnold <mat@mat.cc>, Wolfram Schneider <wosch@freebsd.org>
Cc:        doc-committers@freebsd.org, svn-doc-all@freebsd.org,  svn-doc-head@freebsd.org
Subject:   Re: svn commit: r51065 - head/share/mk
Message-ID:  <CAMWY7CCyVbSJ1jbxSteSMkA-mZ4o5F0nkPqigdav9iuGs-yf0g@mail.gmail.com>
In-Reply-To: <a1df01d9-7172-daf7-fa84-ac6f6a2395c8@mat.cc>
References:  <201710061044.v96Ai0We005019@repo.freebsd.org> <a1df01d9-7172-daf7-fa84-ac6f6a2395c8@mat.cc>

next in thread | previous in thread | raw e-mail | index | archive | help
On 29 November 2017 at 15:53, Mathieu Arnold <mat@mat.cc> wrote:
> Le 06/10/2017 =C3=A0 12:44, Wolfram Schneider a =C3=A9crit :
>> 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"?

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.

-Wolfram


>> Modified:
>>   head/share/mk/doc.project.mk
>>   head/share/mk/web.site.mk
>>
>> Modified: head/share/mk/doc.project.mk
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
>> --- head/share/mk/doc.project.mk      Fri Oct  6 09:36:06 2017        (r=
51064)
>> +++ head/share/mk/doc.project.mk      Fri Oct  6 10:44:00 2017        (r=
51065)
>> @@ -57,6 +57,9 @@
>>  #                    Currently the only method.
>>  #
>>
>> +# 'make obj' doesn't really work for the docs, disable it
>> +NO_OBJ?=3D YES
>> +
>>  # Document-specific defaults
>>  DOCFORMAT?=3D  docbook
>>  MAINTAINER?=3D doc@FreeBSD.org
>> @@ -107,7 +110,7 @@ DOC_LOCAL_MK=3D     ${DOC_PREFIX}/${LANGCODE}/share/=
mk/doc.l
>>
>>  # parallel build for target "all" and "clean"
>>  NCPU?=3D ${.MAKE.JOBS}
>> -p-all p-clean p-obj:
>> +p-all p-clean:
>>       make -V SUBDIR | sed -E 's/[ ]+$$//' | tr " " "\n" | \
>>               sed -E 's/^/make -C /; s/$$/ ${.TARGET:S/^p-//}/' | \
>>               tr '\n' '\0' | xargs -0 -n1 -P${NCPU:S/^$$/8/} /bin/sh -c
>>
>> Modified: head/share/mk/web.site.mk
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
>> --- head/share/mk/web.site.mk Fri Oct  6 09:36:06 2017        (r51064)
>> +++ head/share/mk/web.site.mk Fri Oct  6 10:44:00 2017        (r51065)
>> @@ -325,6 +325,9 @@ _PROGSUBDIR: .USE
>>  .endfor
>>  .endif
>>
>> +# 'make obj' doesn't really work for the docs, disable it
>> +NO_OBJ?=3D YES
>> +
>>  .include <bsd.obj.mk>
>>
>>  #
>>
>>
>
> --
> Mathieu Arnold
>



--=20
Wolfram Schneider <wosch@FreeBSD.org> https://wolfram.schneider.org



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