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