No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / usr.bin / texinfo / common / Makefile
blobe1dbcbace89578f3e55b2dc66488278a09a565ea
1 # $NetBSD: Makefile,v 1.12 2008/09/02 08:38:35 christos Exp $
3 .include "../Makefile.inc"
4 LIBISPRIVATE= yes
6 LIB= common
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:.\" \
11 -I${IDIST}/info
13 .include <bsd.lib.mk>
15 .PATH: ${IDIST}/lib ${IDIST}/po
17 all: ${FILES}
18 .SUFFIXES: .gmo .mo
19 .gmo.mo:
20 ${_MKTARGET_CREATE}
21 @cp $< $@
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}
34 ${.ALLSRC}
36 .PATH: ${IDIST}/info ${IDIST}/doc