Require that DESTDIR be set before running "make distribution".
This commit is contained in:
parent
22f767ca88
commit
ec1d8a2559
@ -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