summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/texinfo/makedoc/Makefile
blob: 145d5db9fb1d6e9e29d2626a87a49f4b8a699ed0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#	$NetBSD: Makefile,v 1.4 2008/09/09 06:31:33 lukem Exp $

NOMAN=
MAKEDOC=

.include "../Makefile.inc"

.if defined(__MINIX)
#LSC: First program within texinfo: trigger fetch.sh script
MODULE=		texinfo
GNUHOSTDIST=	${DIST}/${MODULE}
.include "${.CURDIR}/../../../../minix/Makefile.fetchgnu"
.endif # defined(__MINIX)

HOSTPROG=	makedoc
SRCS=		makedoc.c xexit.c xmalloc.c xstrdup.c

.PATH: ${IDIST}/info ${IDIST}/lib
HOST_CPPFLAGS+= -I${IDIST}/info -I${IDIST}/lib -I${.CURDIR}/../common
HOST_CPPFLAGS+= -DHOSTTOOL

.include <bsd.hostprog.mk>

.if defined(__MINIX) && ${USETOOLS} != "yes"
# MINIX: make sure sources are fetched, even when tools not built earlier
${SRCS} realdepend realall realinstall: ${fetch_done}
.endif # defined(__MINIX)