Home | History | Annotate | Line # | Download | only in texinfo
      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 
      6 SUBDIR=		makedoc .WAIT lib .WAIT bin
      7 
      8 .if ${MKSHARE} != "no"
      9 FILESDIR=	/usr/share/misc
     10 FILES=		epsf.tex texinfo.cat texinfo.dtd texinfo.tex texinfo.xsl
     11 VERSION!=	${TOOL_SED} -n "s/^\#define VERSION \"\(.*\)\"/\1/p" \
     12 			${.CURDIR}/include/config.h
     13 
     14 texinfo.cat: texinfo-cat.in
     15 	${TOOL_SED} 's/__VERSION__/${VERSION}/g' ${.ALLSRC} >${.TARGET}
     16 
     17 realall:	texinfo.cat
     18 
     19 CLEANFILES+=	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
     25 FILES+=		${F}
     26 FILESDIR_${F}=  /usr/share/locale/${F:.gmo=}/LC_MESSAGES
     27 FILESNAME_${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 
     34 MAN=		info.5 texinfo.5
     35 
     36 TEXINFO=	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