1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-30 08:19:09 +00:00

Don't run install-info under lockf if not installing in parallel.

Requested by:	rwatson
This commit is contained in:
Ruslan Ermilov 2006-09-29 15:36:19 +00:00
parent cb29445a92
commit 9af8612e8c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=162793

View File

@ -143,11 +143,18 @@ ${x:S/$/${ICOMPRESS_EXT}/}: ${x}
.for x in ${INFO}
INSTALLINFODIRS+= ${x:S/$/-install/}
${x:S/$/-install/}:
.if !empty(.MAKEFLAGS:M-j)
lockf -k ${DESTDIR}${INFODIR}/${INFODIRFILE} \
${INSTALLINFO} ${INSTALLINFOFLAGS} \
--defsection=${INFOSECTION} \
--defentry=${INFOENTRY_${x}} \
${x}.info ${DESTDIR}${INFODIR}/${INFODIRFILE}
.else
${INSTALLINFO} ${INSTALLINFOFLAGS} \
--defsection=${INFOSECTION} \
--defentry=${INFOENTRY_${x}} \
${x}.info ${DESTDIR}${INFODIR}/${INFODIRFILE}
.endif
.endfor
.PHONY: ${INSTALLINFODIRS}