diff options
author | sjg <sjg@FreeBSD.org> | 2014-07-08 22:27:50 +0000 |
---|---|---|
committer | sjg <sjg@FreeBSD.org> | 2014-07-08 22:27:50 +0000 |
commit | 8a8bdedf3516cfc13d63e3d424375679d4fe2a5c (patch) | |
tree | 4c5229352cca8f44795e8423807a3ec5d9f482ed /contrib/bmake/mk/rst2htm.mk | |
parent | 26d6f0488543168ab53e731b626612a7d1028552 (diff) | |
download | FreeBSD-src-8a8bdedf3516cfc13d63e3d424375679d4fe2a5c.zip FreeBSD-src-8a8bdedf3516cfc13d63e3d424375679d4fe2a5c.tar.gz |
Update to bmake-20140620
Main change is detection of malformed variable references.
Reviewed by: obrien
Diffstat (limited to 'contrib/bmake/mk/rst2htm.mk')
-rw-r--r-- | contrib/bmake/mk/rst2htm.mk | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/contrib/bmake/mk/rst2htm.mk b/contrib/bmake/mk/rst2htm.mk index 8bd66da..4d4c940 100644 --- a/contrib/bmake/mk/rst2htm.mk +++ b/contrib/bmake/mk/rst2htm.mk @@ -1,4 +1,4 @@ -# $Id: rst2htm.mk,v 1.8 2011/04/03 21:39:25 sjg Exp $ +# $Id: rst2htm.mk,v 1.9 2014/02/22 01:52:41 sjg Exp $ # # @(#) Copyright (c) 2009, Simon J. Gerraty # @@ -22,6 +22,7 @@ TXTSRCS != 'ls' -1t ${.CURDIR}/*.txt ${.CURDIR}/*.rst 2>/dev/null; echo RSTSRCS ?= ${TXTSRCS} HTMFILES ?= ${RSTSRCS:R:T:O:u:%=%.htm} RST2HTML ?= rst2html.py +RST2PDF ?= rst2pdf RST2S5 ?= rst2s5.py # the following will run RST2S5 if the target name contains the word 'slides' # otherwise it uses RST2HTML @@ -33,11 +34,15 @@ CLEANFILES += ${HTMFILES} html: ${HTMFILES} -.SUFFIXES: ${RST_SUFFIXES} .htm +.SUFFIXES: ${RST_SUFFIXES} .htm .pdf ${RST_SUFFIXES:@s@$s.htm@}: ${RST2HTM} ${.IMPSRC} ${.TARGET} +${RST_SUFFIXES:@s@$s.pdf@}: + ${RST2PDF} ${.IMPSRC} ${.TARGET} + .for s in ${RSTSRCS:O:u} ${s:R:T}.htm: $s +${s:R:T}.pdf: $s .endfor |