diff --git a/etc/Makefile b/etc/Makefile index 95a31c438734..f47abefb8f4f 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -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; \