1### latex.doc.post.mk -- Produce LaTeX documents
2
3# Author: Michael Grünewald
4# Date: Dim  9 sep 2007 14:49:18 CEST
5# Cookie: SYNOPSIS TARGET VARIABLE EN DOCUMENTATION
6
7# BSD Owl Scripts (https://bitbucket.org/michipili/bsdowl)
8# This file is part of BSD Owl Scripts
9#
10# Copyright © 2005–2014 Michael Grünewald
11#
12# This file must be used under the terms of the CeCILL-B.
13# This source file is licensed as described in the file COPYING, which
14# you should have received as part of this distribution. The terms
15# are also available at
16# http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.txt
17
18# Confer `tex.doc.mk'.
19
20_latex_doc_summary: .USE
21	${INFO} 'Information summary for ${.TARGET:T}'
22	@- (\
23	  ! ${GREP} 'LaTeX \(Error\|Warning\|Font Error\)' ${.TARGET:R}.log \
24	) && ${ECHO} 'Everything seems in order'
25
26.for var in _TEX_DVI _TEX_PDF _TEX_PS
27.if defined(${var})&&!empty(${var})
28.for doc in ${${var}}
29${doc}: _latex_doc_summary
30.endfor
31.endif
32.endfor
33
34### End of file `latex.doc.post.mk'
35