Require that DESTDIR be set before running "make distribution".

This commit is contained in:
ru 2005-07-22 10:35:35 +00:00
parent 22f767ca88
commit ec1d8a2559

View File

@ -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; \