From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (fantadrom.bsd.lv [local]); by fantadrom.bsd.lv (OpenSMTPD) with ESMTPA id 3cf394ac; for ; Sun, 5 Apr 2015 04:30:54 -0500 (EST) Date: Sun, 5 Apr 2015 04:30:54 -0500 (EST) Message-Id: <12648093588740339238.enqueue@fantadrom.bsd.lv> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: schwarze@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: allow using an alternate mandoc binary X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 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