summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.info.mk
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-04-07 16:46:40 +0000
committerbde <bde@FreeBSD.org>1997-04-07 16:46:40 +0000
commit8d6ed2803c758cc362bb65dbddcfcd873256b291 (patch)
tree9493fe0da6fc04f7b7f629f8fcddc406949f9a01 /share/mk/bsd.info.mk
parente225ab4fac5118699c4f4710b243c43658ff4bf6 (diff)
downloadFreeBSD-src-8d6ed2803c758cc362bb65dbddcfcd873256b291.zip
FreeBSD-src-8d6ed2803c758cc362bb65dbddcfcd873256b291.tar.gz
Include ${CURDIR}/../Makefile.inc as in most other `.mk' files. This
is most useful for centralizing the definitions of paths to contrib directories. Removed useless subshell and evil-hiding @ in the the rule for initializing the info dir.
Diffstat (limited to 'share/mk/bsd.info.mk')
-rw-r--r--share/mk/bsd.info.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/share/mk/bsd.info.mk b/share/mk/bsd.info.mk
index ab0bb62..e174aa2 100644
--- a/share/mk/bsd.info.mk
+++ b/share/mk/bsd.info.mk
@@ -1,4 +1,4 @@
-# $Id: bsd.info.mk,v 1.34 1997/03/12 07:14:44 peter Exp $
+# $Id: bsd.info.mk,v 1.35 1997/03/29 12:39:52 peter Exp $
#
# The include file <bsd.info.mk> handles installing GNU (tech)info files.
# Texinfo is a documentation system that uses a single source
@@ -70,6 +70,10 @@
#
# bsd.obj.mk: cleandir and obj
+.if exists(${.CURDIR}/../Makefile.inc)
+.include "${.CURDIR}/../Makefile.inc"
+.endif
+
MAKEINFO?= makeinfo
MAKEINFOFLAGS+= --no-split # simplify some things, e.g., compression
SRCDIR?= ${.CURDIR}
@@ -117,7 +121,7 @@ ${x:S/$/${ICOMPRESS_EXT}/}: ${x}
# What to do if there's no dir file there. This is really gross!!!
${DESTDIR}${INFODIR}/${INFODIRFILE}:
- @(cd /usr/src/share/info; make install)
+ cd /usr/src/share/info; ${MAKE} install
.for x in ${INFO}
INSTALLINFODIRS+= ${x:S/$/-install/}
OpenPOWER on IntegriCloud