This is a fix over commit
a150b26ee803b20080
On a MINIX station, the tools are not usually built and
on a first-time building of the tree, the fetching script
of texinfo was not triggered in some cases. Let force it.
Reported on minix3 googlegroup by Chris Card.
Change-Id: I8beafdeaec66bb1f1f3250bd64c1e14c0023e9d0
.if defined(__MINIX)
SUBDIR+= texinfo
+
+.if ${USETOOLS} != "yes"
+# MINIX: make sure sources are fetched, even when tools were not built earlier
+MODULE= texinfo
+GNUHOSTDIST= ${NETBSDSRCDIR}/gnu/dist/${MODULE}
+.include "${.CURDIR}/../../minix/Makefile.fetchgnu"
+
+realall realdepend: ${GNUHOSTDIST:H}/.gitignore
+.endif # defined(__MINIX)
+
.else
SUBDIR+= bc
SUBDIR+= c89 c99