Require that DESTDIR be set before running "make distribution".
This commit is contained in:
parent
fc0b043d79
commit
1ede9a7d0e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=148282
@ -86,6 +86,10 @@ CAP_MKDB_ENDIAN=
|
|||||||
.endif
|
.endif
|
||||||
|
|
||||||
distribution:
|
distribution:
|
||||||
|
.if !defined(DESTDIR)
|
||||||
|
@echo "set DESTDIR before running \"make ${.TARGET}\""
|
||||||
|
@false
|
||||||
|
.endif
|
||||||
cd ${.CURDIR}; \
|
cd ${.CURDIR}; \
|
||||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
|
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
|
||||||
${BIN1} ${DESTDIR}/etc; \
|
${BIN1} ${DESTDIR}/etc; \
|
||||||
|
Loading…
Reference in New Issue
Block a user