svn commit: r50867 - head/en_US.ISO8859-1/articles/freebsd-releng
Glen Barber
gjb at FreeBSD.org
Tue Sep 19 14:07:29 UTC 2017
On Tue, Sep 19, 2017 at 01:39:37PM +0200, Wolfram Schneider wrote:
> On 18 September 2017 at 18:57, Glen Barber <gjb at 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}
>
Indeed, it was a workaround. I'll test your suggestion shortly. Thank
you for the feedback.
BTW, I did see your followup email. One area in which I am aware the
build always rebuilds a page is in en_*/htdocs/security/, where the
advisories.xml and notices.xml files are forcefully rebuilt, for similar
reasons as this commit. I am unsure it is fixable in the same manner as
this, though. Regardless, thank you for opening a PR to track this.
Glen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-doc-head/attachments/20170919/7e4761b5/attachment.sig>
More information about the svn-doc-head
mailing list