/usr/share/mk/tex.doc.main.mk is in bsdowl 2.2.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | ### tex.doc.main.mk -- Produce TeX documents (main part)
# Author: Michael Grünewald
# Date: Dim 9 sep 2007 14:49:18 CEST
# Cookie: SYNOPSIS TARGET VARIABLE EN DOCUMENTATION
# BSD Owl Scripts (https://bitbucket.org/michipili/bsdowl)
# This file is part of BSD Owl Scripts
#
# Copyright © 2005–2014 Michael Grünewald
#
# This file must be used under the terms of the CeCILL-B.
# This source file is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
# are also available at
# http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.txt
#
# Spécialisation de FORMAT
#
# Chaque `device' peut utiliser un format TeX spécifique. La variable
# FORMAT permet d'initialiser les variables FORMAT.${device} avec une
# valeur commune.
.if defined(FORMAT)&&!empty(FORMAT)
.for device in ${TEXDOC_DEVICES}
FORMAT.${_TEX_SUFFIX.${device}}?= ${FORMAT}
.endfor
.endif
#
# Spécialisation de SRCS
#
.for doc in ${_TEX_DOC}
.if defined(SRCS)&&!empty(SRCS)
SRCS.${doc:T}+= ${SRCS}
.endif
.for device in ${TEXDEVICE}
.if defined(SRCS.${doc:T})&&!empty(SRCS.${doc:T})
SRCS.${doc:T}.${device}+= ${SRCS.${doc:T}}
.endif
.endfor
.endfor
#
# Files groups
#
FILESGROUPS+= TEXDOC
TEXDOCDIR?= ${PREFIX}/Documents${PACKAGEDIR}
TEXDOCOWN?= ${DOCOWN}
TEXDOCGROUP?= ${DOCGROUP}
TEXDOCMODE?= ${DOCMODE}
.if defined(TEXDOCNAME)&&!empty(TEXDOCNAME)
.for doc in ${_TEX_DOC}
TEXDOCNAME.${doc:T}?= ${TEXDOCNAME}
.endfor
.endif
.if defined(TEXDRAFTSTAMP)&&!empty(TEXDRAFTSTAMP)
.for doc in ${_TEX_DOC}
.if defined(TEXDOCNAME.${doc:T})
TEXDOCNAME.${doc:T}:= ${TEXDOCNAME.${doc:T}}${TEXDRAFTSTAMP}
.else
TEXDOCNAME.${doc:T} = ${doc:T}${TEXDRAFTSTAMP}
.endif
.endfor
.endif
#
# Génération des dépendances
#
.for doc in ${_TEX_DOC}
.for device in ${TEXDEVICE}
.if defined(SRCS.${doc:T}.${device})&&!empty(SRCS.${doc:T}.${device})
${doc}.${device}: ${SRCS.${doc:T}.${device}}
.endif
.endfor
.endfor
#
# Pilotes
#
.for device in ${_TEX_DEVICES}
.include "tex.device.${device}.mk"
.endfor
.for driver in ${_TEX_DRIVERS}
.include "tex.driver.${driver}.mk"
.endfor
#
# Objectifs de production de documents
#
do-build: do-build-doc
do-build-doc: ${TEXDOC}
### End of file `tex.doc.main.mk'
|