Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Sep 2017 14:23:02 +0200
From:      Wolfram Schneider <wosch@freebsd.org>
To:        Glen Barber <gjb@freebsd.org>
Cc:        doc-committers@freebsd.org, svn-doc-all@freebsd.org,  svn-doc-head@freebsd.org
Subject:   Re: svn commit: r50867 - head/en_US.ISO8859-1/articles/freebsd-releng
Message-ID:  <CAMWY7CBR3LOwqEY-_AE77ANE-yBybVTu1siTODDrVz7wZHZVcw@mail.gmail.com>
In-Reply-To: <CAMWY7CBhq8T2HLeTdBriuaFJ=KBXs_rSK8drNxd=qDQ41CMEeQ@mail.gmail.com>
References:  <201709181657.v8IGvgho043591@repo.freebsd.org> <CAMWY7CBhq8T2HLeTdBriuaFJ=KBXs_rSK8drNxd=qDQ41CMEeQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 19 September 2017 at 13:39, Wolfram Schneider <wosch@freebsd.org> wrote:
> On 18 September 2017 at 18:57, Glen Barber <gjb@freebsd.org> wrote:
>> Author: gjb
>> Date: Mon Sep 18 16:57:42 2017
>> New Revision: 50867
>> URL: https://svnweb.freebsd.org/changeset/doc/50867
>>
>> Log:
>>   Always rebuild the freebsd-releng article when 'make all' is invoked.
>>
>>   This fixes an issue where an update to one of the releng-*.xml files
>>   is not reflected on the Project website until after a full, clean
>>   rebuild is done (currently every 7 days).
>
> this is not a fix, it is a workaround. Why not fixing the Makefile and
> add the dependencies? You can add the dependencies by hand or just
> extract them from the article.xml file itself, e.g.:
>
> DEPS!= egrep '<!ENTITY release\.[^ ]+ SYSTEM "./releng-[^ ]+\.xml">'
> ${SRCS} | sed -E 's,.*"./([^"]+)".*,\1,'
> index.html ${DOC}.html: ${DEPS}

PS: I filed a bug report
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222446

-Wolfram



> -Wolfram
>
>
>
>>
>>   Sponsored by: The FreeBSD Foundation
>>
>> Modified:
>>   head/en_US.ISO8859-1/articles/freebsd-releng/Makefile
>>
>> Modified: head/en_US.ISO8859-1/articles/freebsd-releng/Makefile
>> ==============================================================================
>> --- head/en_US.ISO8859-1/articles/freebsd-releng/Makefile       Mon Sep 18 15:22:32 2017        (r50866)
>> +++ head/en_US.ISO8859-1/articles/freebsd-releng/Makefile       Mon Sep 18 16:57:42 2017        (r50867)
>> @@ -17,4 +17,6 @@ CSS_SHEET_ADDITIONS=extra.css
>>  URL_RELPREFIX?=        ../../../..
>>  DOC_PREFIX?=   ${.CURDIR}/../../..
>>
>> +all: .PHONY clean
>> +
>>  .include "${DOC_PREFIX}/share/mk/doc.project.mk"
>>
>
>
>
> --
> Wolfram Schneider <wosch@FreeBSD.org> http://wolfram.schneider.org



-- 
Wolfram Schneider <wosch@FreeBSD.org> http://wolfram.schneider.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMWY7CBR3LOwqEY-_AE77ANE-yBybVTu1siTODDrVz7wZHZVcw>