diff options
author | ache <ache@FreeBSD.org> | 1997-01-05 15:33:36 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-01-05 15:33:36 +0000 |
commit | ad809aa5ff27fd5acd6194969441a2872b8dd00d (patch) | |
tree | 0c0dae48c4809e4f7875f151a7e0c0cf7bd1f614 | |
parent | bfc29630fd095383816de4c3038c8661f4c5a9d0 (diff) | |
download | FreeBSD-src-ad809aa5ff27fd5acd6194969441a2872b8dd00d.zip FreeBSD-src-ad809aa5ff27fd5acd6194969441a2872b8dd00d.tar.gz |
Use SRCDIR to handle non-current directory docs
Use INFO* macros from bsd.own.mk
-rw-r--r-- | share/mk/bsd.info.mk | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/share/mk/bsd.info.mk b/share/mk/bsd.info.mk index 06809e9..6ba86e0 100644 --- a/share/mk/bsd.info.mk +++ b/share/mk/bsd.info.mk @@ -1,19 +1,18 @@ -# $Id: bsd.info.mk,v 1.18 1996/06/24 04:23:58 jkh Exp $ +# $Id: bsd.info.mk,v 1.19 1996/09/03 15:14:45 bde Exp $ -BINMODE= 444 -BINDIR?= /usr/share/info MAKEINFO?= makeinfo MAKEINFOFLAGS+= --no-split # simplify some things, e.g., compression +SRCDIR?= ${.CURDIR} .MAIN: all .SUFFIXES: .gz .info .texi .texinfo .texi.info: - ${MAKEINFO} ${MAKEINFOFLAGS} -I ${.CURDIR} ${.IMPSRC} -o ${.TARGET} + ${MAKEINFO} ${MAKEINFOFLAGS} -I ${.CURDIR} -I ${SRCDIR} ${.IMPSRC} -o ${.TARGET} .texinfo.info: - ${MAKEINFO} ${MAKEINFOFLAGS} -I ${.CURDIR} ${.IMPSRC} -o ${.TARGET} + ${MAKEINFO} ${MAKEINFOFLAGS} -I ${.CURDIR} -I ${SRCDIR} ${.IMPSRC} -o ${.TARGET} -.PATH: ${.CURDIR} +.PATH: ${.CURDIR} ${SRCDIR} .if !defined(NOINFOCOMPRESS) IFILES= ${INFO:S/$/.info.gz/g} @@ -43,7 +42,7 @@ distribute: _SUBDIR .if defined(SRCS) ${INFO}.info: ${SRCS} - ${MAKEINFO} ${MAKEINFOFLAGS} -I ${.CURDIR} ${SRCS:S/^/${.CURDIR}\//g} -o ${INFO}.info + ${MAKEINFO} ${MAKEINFOFLAGS} -I ${.CURDIR} -I ${SRCDIR} ${SRCS:S/^/${.SRCDIR}\//g} -o ${INFO}.info .endif depend: _SUBDIR @@ -53,8 +52,8 @@ clean: _SUBDIR rm -f ${INFO:S/$/.info*/g} Errs errs mklog ${CLEANFILES} install: _SUBDIR - ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ - ${IFILES} ${DESTDIR}${BINDIR} + ${INSTALL} ${COPY} -o ${INFOOWN} -g ${INFOGRP} -m ${INFOMODE} \ + ${IFILES} ${DESTDIR}${INFODIR} .if !target(maninstall) maninstall: _SUBDIR |