svn commit: r50881 - head/en_US.ISO8859-1/articles/freebsd-releng

Glen Barber <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
Author: gjb
Date: Tue Sep 19 14:14:34 2017
New Revision: 50881
URL: https://svnweb.freebsd.org/changeset/doc/50881

Log:
  Revert r50867, which added '.PHONY' to the freebsd-releng/Makefile
  to ensure the article.html file would always be updated if any of
  the dependent releng-*.xml files were updated.
  
  Implement a proper fix to ensure the dependencies are properly
  tracked, and the page(s) are rebuilt after an update.
  
  Thank you to wosch@ for providing the correct fix for this.
  
  Submitted by:	wosch
  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	Tue Sep 19 10:03:26 2017	(r50880)
+++ head/en_US.ISO8859-1/articles/freebsd-releng/Makefile	Tue Sep 19 14:14:34 2017	(r50881)
@@ -12,11 +12,14 @@ INSTALL_ONLY_COMPRESSED?=
 
 SRCS=		article.xml
 
+DEPS!= egrep '<!ENTITY release\.[^ ]+ SYSTEM "./releng-[^ ]+\.xml">' \
+	${SRCS} | sed -E 's,.*"./([^"]+)".*,\1,'
+
 CSS_SHEET_ADDITIONS=extra.css
 
 URL_RELPREFIX?=	../../../..
 DOC_PREFIX?=	${.CURDIR}/../../..
 
-all: .PHONY clean
+index.html ${DOC}.html: ${DEPS}
 
 .include "${DOC_PREFIX}/share/mk/doc.project.mk"
_______________________________________________
[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.