Change to the current directory before doing the install. I !love make.

This commit is contained in:
John Birrell 1998-12-11 00:09:39 +00:00
parent 7e2d04d7c3
commit 1e8cf44a58
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,5 @@
# from: @(#)Makefile 5.11 (Berkeley) 5/21/91 # from: @(#)Makefile 5.11 (Berkeley) 5/21/91
# $Id: Makefile,v 1.180 1998/11/20 23:20:00 jdp Exp $ # $Id: Makefile,v 1.181 1998/12/10 05:34:11 jb Exp $
SUBDIR= sendmail SUBDIR= sendmail
@ -167,6 +167,7 @@ _etc_missing+=$(_f)
# #
install: install:
.if (${_etc_missing} != "") .if (${_etc_missing} != "")
cd ${.CURDIR}; \
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${_etc_missing} \ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${_etc_missing} \
${DESTDIR}/etc ${DESTDIR}/etc
.endif .endif