source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* pod2mdoc: make it easier to override the POD2MAN and POD2MDOC variables
@ 2014-07-19  1:31 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2014-07-19  1:31 UTC (permalink / raw)
  To: source

Log Message:
-----------
make it easier to override the POD2MAN and POD2MDOC variables

Modified Files:
--------------
    pod2mdoc/Regress:
        Makefile.inc

Revision Data
-------------
Index: Makefile.inc
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/pod2mdoc/Regress/Makefile.inc,v
retrieving revision 1.2
retrieving revision 1.3
diff -LRegress/Makefile.inc -LRegress/Makefile.inc -u -p -r1.2 -r1.3
--- Regress/Makefile.inc
+++ Regress/Makefile.inc
@@ -1,10 +1,12 @@
 # --- utilities ---
 
-POD2MAN = pod2man -c 'OpenBSD Reference Manual' -d 'July 13, 2014' -r 'OpenBSD ports'
+TESTDATE = -d 'July 19, 2014'
+POD2MAN = pod2man
+POD2MANARGS = -c 'OpenBSD Reference Manual' -r 'OpenBSD ports'
 GROFF = groff -Tascii -P -c
 MANDOC = mandoc -Tascii
 DIFF = diff -u
-POD2MDOC = /co/pod2mdoc/pod2mdoc -d 'July 13, 2014'
+POD2MDOC = /co/pod2mdoc/pod2mdoc
 
 # --- lists ---
 
@@ -96,7 +98,7 @@ ${t}:${t}.diff
 .SUFFIXES: .mdoc .groff_mdoc .mandoc_mdoc
 
 .pod.preman:
-	-${POD2MAN} $< > $@
+	-${POD2MAN} ${POD2MANARGS} ${TESTDATE} $< > $@
 
 .preman.man:
 	../p2m_postproc.pl < $< > $@.part
@@ -115,7 +117,7 @@ ${t}:${t}.diff
 	@mv $@.part $@
 
 .pod.mdoc:
-	${POD2MDOC} $< > $@.part
+	${POD2MDOC} ${TESTDATE} $< > $@.part
 	@mv $@.part $@
 
 .mdoc.groff_mdoc:
--
 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:[~2014-07-19  1:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-19  1:31 pod2mdoc: make it easier to override the POD2MAN and POD2MDOC variables 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).