Sync usage with man page.
[netbsd-mini2440.git] / external / gpl3 / binutils / usr.bin / common / Makefile
blob37347f478f3f17428a54520e229ead622c66ab16
1 # $NetBSD: Makefile,v 1.4 2009/09/26 11:51:34 skrll Exp $
3 .include <bsd.own.mk>
5 TOP= ${NETBSDSRCDIR}/external/gpl3/binutils
7 .include "${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk"
8 .include "${.CURDIR}/../common/Makefile.inc"
10 TEXINFO= ${G_TEXINFOS}
11 INFOFLAGS= -I${DIST}/binutils/doc -I${DIST}/libiberty -I{.CURDIR}
13 .PATH: ${DIST} ${DIST}/binutils/doc
15 ${TEXINFO}: bfdver.texi
17 bfdver.texi: ${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk
18 ${_MKTARGET_CREATE}
19 rm -f ${.TARGET}
20 (echo "@set VERSION ${G_VERSION}"; \
21 if [ -n "$(G_PKGVERSION)" ]; then \
22 echo "@set VERSION_PACKAGE $(G_PKGVERSION)"; \
23 fi; \
24 if [ -n "$(G_REPORT_BUGS_TEXI)" ]; then \
25 echo "@set BUGURL $(G_REPORT_BUGS_TEXI)"; \
26 fi \
27 ) > ${.TARGET}
29 CLEANFILES+= bfdver.texi
31 .include <bsd.info.mk>