minix/gnu/usr.bin/texinfo/common/Makefile
Lionel Sambuc c566d4623b Allow install of binutils and import texinfo
- Enable installing binutils from the base system.

 - Import texinfo which is required for the binutils tools
   to be compiled.

 - Also adapted the fetch rules to correctly generate the
   gitignore files for gcc, and allow the case of multiple
   modules in the same directory, as found in gnu/dist.

Warning: This patch has an entry in docs/UPDATING

Change-Id: Ib781734e8fd7f9c6265fa65d62ba2cf3fccbc5ba
2013-07-12 14:18:08 +02:00

37 lines
785 B
Makefile

# $NetBSD: Makefile,v 1.13 2008/09/03 11:58:30 lukem Exp $
.include "../Makefile.inc"
LIBISPRIVATE= yes
LIB= common
SRCS+= substring.c xexit.c xmalloc.c xstrdup.c key.c doc.c
CPPFLAGS+= -DGNULOCALEDIR=\"/usr/share/locale\" \
-DLOCALE_ALIAS_PATH=\"/usr/share/locale:.\" \
-I${IDIST}/info
.include <bsd.lib.mk>
.PATH: ${IDIST}/lib ${IDIST}/po
all: ${FILES}
.SUFFIXES: .gmo .mo
.gmo.mo:
${_MKTARGET_CREATE}
@cp $< $@
GEN_SRCS = funs.h key.c doc.c
CLEANFILES+= ${GEN_SRCS}
CMD_SRCS = session.c echo-area.c infodoc.c m-x.c indices.c nodemenu.c \
footnotes.c variables.c
MAKEDOCDIR!=cd ${.CURDIR}/../makedoc && ${PRINTOBJDIR}
MAKEDOC=${MAKEDOCDIR}/makedoc
${GEN_SRCS}: ${MAKEDOC} ${CMD_SRCS}
${_MKMSG_CREATE} ${GEN_SRCS}
${.ALLSRC}
.PATH: ${IDIST}/info ${IDIST}/doc