* mdocml: allow using an alternate mandoc binary
@ 2015-04-05 9:30 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2015-04-05 9:30 UTC (permalink / raw)
To: source
Log Message:
-----------
allow using an alternate mandoc binary
Modified Files:
--------------
mdocml:
gmdiff
Revision Data
-------------
Index: gmdiff
===================================================================
RCS file: /home/cvs/mdocml/mdocml/gmdiff,v
retrieving revision 1.3
retrieving revision 1.4
diff -Lgmdiff -Lgmdiff -u -p -r1.3 -r1.4
--- gmdiff
+++ gmdiff
@@ -40,7 +40,8 @@ while [ -n "$1" ]; do
shift
echo " ========== $file ========== "
tbl $file | $EQN | $ROFF -mandoc 2> /tmp/roff.err > /tmp/roff.out
- mandoc -Ios='OpenBSD ports' $MOPT $file 2> /tmp/mandoc.err > /tmp/mandoc.out
+ ${MANDOC:=mandoc} -Ios='OpenBSD ports' $MOPT $file \
+ 2> /tmp/mandoc.err > /tmp/mandoc.out
for i in roff mandoc; do
[[ -s /tmp/$i.err ]] && echo "$i errors:" && cat /tmp/$i.err
done
--
To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-04-05 9:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-05 9:30 mdocml: allow using an alternate mandoc binary schwarze
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 NNTP newsgroup(s).