Home | History | Annotate | Line # | Download | only in common
Makefile revision 1.6
      1  1.6  christos #	$NetBSD: Makefile,v 1.6 2018/04/14 17:53:09 christos Exp $
      2  1.1  christos 
      3  1.1  christos .include "${.CURDIR}/../common/Makefile.inc"
      4  1.1  christos .include "${.CURDIR}/arch/${BINUTILS_MACHINE_ARCH}/defs.mk"
      5  1.1  christos 
      6  1.1  christos TEXINFO=	${G_TEXINFOS}
      7  1.1  christos INFOFLAGS=	-I${DIST}/binutils/doc -I${DIST}/libiberty -I{.CURDIR}
      8  1.1  christos 
      9  1.1  christos .PATH: ${DIST} ${DIST}/binutils/doc
     10  1.1  christos 
     11  1.1  christos ${TEXINFO}: bfdver.texi
     12  1.1  christos 
     13  1.1  christos bfdver.texi: ${.CURDIR}/arch/${BINUTILS_MACHINE_ARCH}/defs.mk
     14  1.1  christos 	${_MKTARGET_CREATE}
     15  1.1  christos 	rm -f ${.TARGET}
     16  1.1  christos 	(echo "@set VERSION ${G_VERSION}"; \
     17  1.1  christos 	if [ -n "$(G_PKGVERSION)" ]; then \
     18  1.1  christos 		echo "@set VERSION_PACKAGE $(G_PKGVERSION)"; \
     19  1.1  christos 	fi; \
     20  1.1  christos 	if [ -n "$(G_REPORT_BUGS_TEXI)" ]; then \
     21  1.1  christos 		echo "@set BUGURL $(G_REPORT_BUGS_TEXI)"; \
     22  1.1  christos 	fi \
     23  1.1  christos 	) > ${.TARGET}
     24  1.1  christos 
     25  1.1  christos CLEANFILES+=	bfdver.texi
     26  1.1  christos 
     27  1.1  christos .include <bsd.info.mk>
     28