2008-10-26 02:35:36 +04:00
|
|
|
# $NetBSD: Makefile,v 1.23 2008/10/25 22:35:36 apb Exp $
|
1999-04-08 19:18:00 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
1999-02-11 18:42:13 +03:00
|
|
|
|
2008-09-02 12:38:35 +04:00
|
|
|
SUBDIR= makedoc .WAIT common .WAIT info infokey install-info makeinfo \
|
|
|
|
texi2dvi texindex
|
1999-02-11 18:42:13 +03:00
|
|
|
|
1999-07-24 13:09:10 +04:00
|
|
|
.if ${MKSHARE} != "no"
|
1999-02-11 18:42:13 +03:00
|
|
|
FILESDIR= /usr/share/misc
|
2004-07-13 03:45:26 +04:00
|
|
|
FILES= epsf.tex texinfo.cat texinfo.dtd texinfo.tex texinfo.xsl
|
2008-10-26 02:35:36 +04:00
|
|
|
VERSION!= ${TOOL_SED} -n "s/^\#define VERSION \"\(.*\)\"/\1/p" \
|
|
|
|
${NETBSDSRCDIR}/gnu/usr.bin/texinfo/common/config.h
|
2004-07-18 19:42:25 +04:00
|
|
|
|
|
|
|
texinfo.cat: texinfo-cat.in
|
2008-10-26 02:27:34 +04:00
|
|
|
${TOOL_SED} 's/__VERSION__/${VERSION}/g' ${.ALLSRC} >${.TARGET}
|
2004-07-18 20:34:45 +04:00
|
|
|
|
|
|
|
realall: texinfo.cat
|
|
|
|
|
|
|
|
CLEANFILES+= texinfo.cat
|
1999-07-24 13:09:10 +04:00
|
|
|
.endif
|
1999-02-11 18:42:13 +03:00
|
|
|
|
1999-04-08 19:18:00 +04:00
|
|
|
.if ${MKNLS} != "no"
|
2003-01-17 19:04:15 +03:00
|
|
|
.for F in cs.gmo da.gmo de.gmo de_AT.gmo eo.gmo fr.gmo he.gmo hr.gmo ja.gmo \
|
2004-07-13 03:45:26 +04:00
|
|
|
nb.gmo nl.gmo no.gmo pl.gmo ro.gmo ru.gmo sv.gmo tr.gmo zh_CN.gmo zh_TW.gmo
|
1999-02-11 18:42:13 +03:00
|
|
|
FILES+= ${F}
|
|
|
|
FILESDIR_${F}= /usr/share/locale/${F:.gmo=}/LC_MESSAGES
|
|
|
|
FILESNAME_${F}= texinfo.mo
|
|
|
|
.endfor
|
2001-09-03 03:00:30 +04:00
|
|
|
# XXX: Do we want to install the following files too?
|
2003-01-17 19:04:15 +03:00
|
|
|
#FILES+= txi-cs.tex txi-de.tex txi-en.tex txi-es.tex txi-fr.tex txi-it.tex \
|
2003-02-13 12:01:13 +03:00
|
|
|
# txi-nl.tex txi-no.tex txi-pt.tex txi-tr.tex
|
1999-04-08 19:18:00 +04:00
|
|
|
.endif
|
1999-02-11 18:42:13 +03:00
|
|
|
|
2001-09-03 02:16:58 +04:00
|
|
|
MAN= info.5 texinfo.5
|
2001-07-25 20:47:50 +04:00
|
|
|
|
1999-02-11 18:42:13 +03:00
|
|
|
TEXINFO= info-stnd.texi info.texi texinfo.txi
|
|
|
|
|
2002-09-19 07:09:31 +04:00
|
|
|
DIST= ${NETBSDSRCDIR}/gnu/dist
|
2003-01-17 18:32:23 +03:00
|
|
|
IDIST= ${DIST}/texinfo
|
|
|
|
INFOFLAGS= -I${IDIST}/doc
|
2001-07-25 20:47:50 +04:00
|
|
|
|
2004-07-18 19:42:25 +04:00
|
|
|
.PATH: ${IDIST} ${IDIST}/doc ${IDIST}/po ${IDIST}/util
|
1999-02-11 18:42:13 +03:00
|
|
|
|
|
|
|
.include <bsd.info.mk>
|
2002-04-24 12:18:45 +04:00
|
|
|
.include <bsd.prog.mk>
|
1999-02-11 18:42:13 +03:00
|
|
|
.include <bsd.subdir.mk>
|