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.
This commit is contained in:
parent
e2d8771131
commit
3bfa8cb182
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24704
@ -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/}
|
||||
|
Loading…
Reference in New Issue
Block a user