1 1.1 christos # $NetBSD: Makefile,v 1.1 2016/01/14 00:34:52 christos Exp $ 2 1.1 christos 3 1.1 christos .include <bsd.init.mk> 4 1.1 christos .include "Makefile.inc" 5 1.1 christos 6 1.1 christos SUBDIR= makedoc .WAIT lib .WAIT bin 7 1.1 christos 8 1.1 christos .if ${MKSHARE} != "no" 9 1.1 christos FILESDIR= /usr/share/misc 10 1.1 christos FILES= epsf.tex texinfo.cat texinfo.dtd texinfo.tex texinfo.xsl 11 1.1 christos VERSION!= ${TOOL_SED} -n "s/^\#define VERSION \"\(.*\)\"/\1/p" \ 12 1.1 christos ${.CURDIR}/include/config.h 13 1.1 christos 14 1.1 christos texinfo.cat: texinfo-cat.in 15 1.1 christos ${TOOL_SED} 's/__VERSION__/${VERSION}/g' ${.ALLSRC} >${.TARGET} 16 1.1 christos 17 1.1 christos realall: texinfo.cat 18 1.1 christos 19 1.1 christos CLEANFILES+= texinfo.cat 20 1.1 christos .endif 21 1.1 christos 22 1.1 christos .if ${MKNLS} != "no" 23 1.1 christos .for F in cs.gmo da.gmo de.gmo de_AT.gmo eo.gmo fr.gmo he.gmo hr.gmo ja.gmo \ 24 1.1 christos nb.gmo nl.gmo no.gmo pl.gmo ro.gmo ru.gmo sv.gmo tr.gmo zh_CN.gmo zh_TW.gmo 25 1.1 christos FILES+= ${F} 26 1.1 christos FILESDIR_${F}= /usr/share/locale/${F:.gmo=}/LC_MESSAGES 27 1.1 christos FILESNAME_${F}= texinfo.mo 28 1.1 christos .endfor 29 1.1 christos # XXX: Do we want to install the following files too? 30 1.1 christos #FILES+= txi-cs.tex txi-de.tex txi-en.tex txi-es.tex txi-fr.tex \ 31 1.1 christos # txi-it.tex txi-nl.tex txi-no.tex txi-pt.tex txi-tr.tex 32 1.1 christos .endif 33 1.1 christos 34 1.1 christos MAN= info.5 texinfo.5 35 1.1 christos 36 1.1 christos TEXINFO= info-stnd.texi info.texi texinfo.txi 37 1.1 christos 38 1.1 christos .PATH: ${IDIST} ${IDIST}/doc ${IDIST}/po ${IDIST}/util 39 1.1 christos 40 1.1 christos .include <bsd.info.mk> 41 1.1 christos .include <bsd.prog.mk> 42 1.1 christos .include <bsd.subdir.mk> 43