1 # $NetBSD: Makefile,v 1.13 2008/09/03 11:58:30 lukem Exp $
3 .
include "../Makefile.inc"
7 SRCS
+= substring.c xexit.c xmalloc.c xstrdup.c key.c doc.c
9 CPPFLAGS
+= -DGNULOCALEDIR
=\"/usr
/share
/locale
\" \
10 -DLOCALE_ALIAS_PATH
=\"/usr
/share
/locale
:.
\" \
15 .PATH
: ${IDIST}/lib
${IDIST}/po
23 GEN_SRCS
= funs.h key.c doc.c
24 CLEANFILES
+= ${GEN_SRCS}
26 CMD_SRCS
= session.c echo-area.c infodoc.c m-x.c indices.c nodemenu.c \
27 footnotes.c variables.c
29 MAKEDOCDIR
!=cd
${.CURDIR
}/..
/makedoc
&& ${PRINTOBJDIR}
30 MAKEDOC
=${MAKEDOCDIR}/makedoc
32 ${GEN_SRCS}: ${MAKEDOC} ${CMD_SRCS}
33 ${_MKMSG_CREATE} ${GEN_SRCS}
36 .PATH
: ${IDIST}/info ${IDIST}/doc