* [PATCH] doc: check-NEWS.atom fails gracefully on FreeBSD make(1)
@ 2019-10-15 21:12 7% Eric Wong
0 siblings, 0 replies; 1+ results
From: Eric Wong @ 2019-10-15 21:12 UTC (permalink / raw)
To: meta
We should also note that the package "xmlstarlet" on FreeBSD
installs a command "xml" (but not "xmlstarlet") on FreeBSD.
---
Documentation/include.mk | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/Documentation/include.mk b/Documentation/include.mk
index 3a73ae84..1ad14909 100644
--- a/Documentation/include.mk
+++ b/Documentation/include.mk
@@ -8,9 +8,11 @@ all::
# Maybe it's not worth it to support non-GNU make, though...
RSYNC = rsync
RSYNC_DEST = public-inbox.org:/srv/public-inbox/
+AWK = awk
MAN = man
+
+# this is "xml" on FreeBSD and maybe some other distros:
XMLSTARLET = xmlstarlet
-AWK = awk
# same as pod2text
COLUMNS = 76
@@ -132,7 +134,8 @@ NEWS NEWS.atom NEWS.html :
check :: NEWS check-NEWS.atom NEWS.html
check-NEWS.atom: NEWS.atom
- $(XMLSTARLET) val $<; e=$$?; test $$e -eq 0 || test $$e -eq 127
+ $(XMLSTARLET) val NEWS.atom || \
+ { e=$$?; test $$e -eq 0 || test $$e -eq 127; }
Documentation/%.html: Documentation/%.txt
$(txt2pre)
--
EW
^ permalink raw reply related [relevance 7%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2019-10-15 21:12 7% [PATCH] doc: check-NEWS.atom fails gracefully on FreeBSD make(1) Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).