diff options
author | ru <ru@FreeBSD.org> | 2006-09-29 15:36:19 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2006-09-29 15:36:19 +0000 |
commit | 5a2e50351682dbca57f6f64fcd9a323f9b99c8b5 (patch) | |
tree | b043fc38a5d4f76d57d27f22a690ba2cecf1b8cc /share | |
parent | 33e34aeeb5bc540d849c497452e05717429183c2 (diff) | |
download | FreeBSD-src-5a2e50351682dbca57f6f64fcd9a323f9b99c8b5.zip FreeBSD-src-5a2e50351682dbca57f6f64fcd9a323f9b99c8b5.tar.gz |
Don't run install-info under lockf if not installing in parallel.
Requested by: rwatson
Diffstat (limited to 'share')
-rw-r--r-- | share/mk/bsd.info.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/share/mk/bsd.info.mk b/share/mk/bsd.info.mk index 826231f..9c3220d 100644 --- a/share/mk/bsd.info.mk +++ b/share/mk/bsd.info.mk @@ -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} |