xref: /minix/gnu/usr.bin/texinfo/makedoc/Makefile (revision 9f7f0ad0)
1#	$NetBSD: Makefile,v 1.4 2008/09/09 06:31:33 lukem Exp $
2
3NOMAN=
4MAKEDOC=
5
6.include "../Makefile.inc"
7
8.if defined(__MINIX)
9#LSC: First program within texinfo: trigger fetch.sh script
10MODULE=		texinfo
11GNUHOSTDIST=	${DIST}/${MODULE}
12.include "${.CURDIR}/../../../../minix/Makefile.fetchgnu"
13.endif # defined(__MINIX)
14
15HOSTPROG=	makedoc
16SRCS=		makedoc.c xexit.c xmalloc.c xstrdup.c
17
18.PATH: ${IDIST}/info ${IDIST}/lib
19HOST_CPPFLAGS+= -I${IDIST}/info -I${IDIST}/lib -I${.CURDIR}/../common
20HOST_CPPFLAGS+= -DHOSTTOOL
21
22.include <bsd.hostprog.mk>
23
24.if defined(__MINIX) && ${USETOOLS} != "yes"
25# MINIX: make sure sources are fetched, even when tools not built earlier
26${SRCS} realdepend realall realinstall: ${fetch_done}
27.endif # defined(__MINIX)
28