svn commit: r52882 - head/en_US.ISO8859-1/htdocs/ports

Glen Barber <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
Author: gjb
Date: Thu Mar 21 18:23:41 2019
New Revision: 52882
URL: https://svnweb.freebsd.org/changeset/doc/52882

Log:
  Ensure the generated ports category XML files are always
  recreated.
  
  If a build failure is triggered, such as a port Makefile
  contains a non-ASCII apostrophe, the generated files are
  not replaced if they exist (even if an error occurs).
  In such a case, manual intervention would be needed to
  remove the file(s) that would cause the build failure.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/en_US.ISO8859-1/htdocs/ports/Makefile

Modified: head/en_US.ISO8859-1/htdocs/ports/Makefile
==============================================================================
--- head/en_US.ISO8859-1/htdocs/ports/Makefile	Thu Mar 21 18:20:14 2019	(r52881)
+++ head/en_US.ISO8859-1/htdocs/ports/Makefile	Thu Mar 21 18:23:41 2019	(r52882)
@@ -47,7 +47,7 @@ packages.exists:
 	${TOUCH} ${.TARGET}
 .endif
 
-Makefile.gen: categories-alpha.xml categories-grouped.xml index.xml \
+Makefile.gen: .PHONY categories-alpha.xml categories-grouped.xml index.xml \
 	installing.xml master-index.xml references.xml searching.xml \
 	statistics.ent updating.xml .NOTMAIN
 	(	${ECHO_CMD} DOCS= *.xml | ${SED} 's|catalog-cwd\.xml||g';\
@@ -68,7 +68,7 @@ categories-grouped.xml master-index.xml statistics.ent
 # this builds: categories-alpha.xml, categories-grouped.xml,
 # master-index.xml, statistics.ent, <category>.xml
 CATEGORYLIST=`grep "^[a-z]" categories | sed -e s"/,.*//"`
-categories-alpha.xml: ${INDEX} categories categories.descriptions \
+categories-alpha.xml: .PHONY ${INDEX} categories categories.descriptions \
 	packages.exists portindex ports.ent .NOTMAIN
 	${RM} -f categories-alpha.xml categories-grouped.xml \
 		master-index.xml statistics.ent
_______________________________________________
[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.