Makefile revision 1.5
1# $NetBSD: Makefile,v 1.5 2001/10/19 02:40:03 tv Exp $ 2 3.include <bsd.own.mk> # for TOOLDIR 4 5DIST= ${.CURDIR}/../../gnu/dist/texinfo 6TIMESTAMP= ${TOOLDIR}/bin/makeinfo 7 8# Dependencies that trigger a rebuild. 9${TIMESTAMP}: \ 10 ${.CURDIR}/Makefile \ 11 ${DIST}/ChangeLog 12 13realall: texinfo.all 14realinstall: texinfo.install 15clean: texinfo.clean 16 17texinfo.configure: 18 rm -rf texinfo 19 mkdir texinfo 20 cd texinfo && \ 21 CC="${HOST_CC}" \ 22 CFLAGS="${HOST_CFLAGS}" \ 23 CPPFLAGS="${HOST_CPPFLAGS}" \ 24 LDFLAGS="${HOST_LDFLAGS}" \ 25 PATH="${TOOLDIR}/bin:$$PATH" \ 26 TEXINFO_MAINT="" \ 27 ${DIST}/configure \ 28 --disable-shared --with-included-gettext \ 29 --prefix=${TOOLDIR} 30 @touch $@ 31 32texinfo.all: texinfo.configure 33 cd texinfo && \ 34 PATH="${TOOLDIR}/bin:$$PATH" \ 35 ${MAKE} -j1 all LEX=true BISON=true DESTDIR= 36 37texinfo.install: 38.for d in makeinfo util 39 cd texinfo/${d} && \ 40 PATH="${TOOLDIR}/bin:$$PATH" \ 41 ${MAKE} -j1 install LEX=true BISON=true DESTDIR= 42.endfor 43 44texinfo.clean: 45 rm -rf texinfo* 46 47.include <bsd.hostprog.mk> 48