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