[tz] [PROPOSED PATCH] Port 'make check_web' to Fedora

Paul Eggert eggert at cs.ucla.edu
Tue Aug 23 21:48:51 UTC 2016


* Makefile (SGML_CATALOG_FILES), NEWS: Port to Fedora 23, where the
catalog is in /usr/share/sgml/html/4.01/HTML4.cat.
---
 Makefile | 8 ++++----
 NEWS     | 4 ++++
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index b71211e..f6754af 100644
--- a/Makefile
+++ b/Makefile
@@ -272,16 +272,16 @@ AWK=		awk
 KSHELL=		/bin/bash
 
 # The path where SGML DTDs are kept and the catalog file(s) to use when
-# validating.  The default is appropriate for Ubuntu 13.10.
+# validating.  The default should work on both Debian and Red Hat.
 SGML_TOPDIR= /usr
 SGML_DTDDIR= $(SGML_TOPDIR)/share/xml/w3c-sgml-lib/schema/dtd
 SGML_SEARCH_PATH= $(SGML_DTDDIR)/REC-html401-19991224
 SGML_CATALOG_FILES= \
-  $(SGML_TOPDIR)/share/doc/w3-recs/html/www.w3.org/TR/1999/REC-html401-19991224/HTML4.cat
+  $(SGML_TOPDIR)/share/doc/w3-recs/html/www.w3.org/TR/1999/REC-html401-19991224/HTML4.cat:$(SGML_TOPDIR)/share/sgml/html/4.01/HTML4.cat
 
 # The name, arguments and environment of a program to validate your web pages.
-# See <http://www.jclark.com/sp/> for a validator, and
-# <http://validator.w3.org/source/> for a validation library.
+# See <http://openjade.sourceforge.net/doc/> for a validator, and
+# <https://validator.w3.org/source/> for a validation library.
 VALIDATE = nsgmls
 VALIDATE_FLAGS = -s -B -wall -wno-unused-param
 VALIDATE_ENV = \
diff --git a/NEWS b/NEWS
index 548de8f..4c18e55 100644
--- a/NEWS
+++ b/NEWS
@@ -42,6 +42,8 @@ Unreleased, experimental changes
     (Thanks to Jon Skeet for suggesting that an option was needed,
     and thanks to Tim Parenti and Chris Rovick for further comments.)
 
+  Changes to build procedure
+
     The tzdata distribution has a new file to2050.tzs that contains
     what should be the output of 'zdump -i -c 2050' on primary zones.
     'make check' now checks that zdump generates this output.
@@ -57,6 +59,8 @@ Unreleased, experimental changes
     significantly smaller than gzip.  (Thanks to Oscar van Vlijmen for
     comments on the format.)
 
+    'make check_web' now works on Fedora-like distributions.
+
   Changes to documentation and commentary
 
     tzfile.5 now documents the new restriction on POSIX TZ-like
-- 
2.5.5



More information about the tz mailing list