Provide proper error message when trying to build xdev, xdev-build or

xdev-install targets without either XDEV or XDEV_ARCH defined.
This commit is contained in:
Oleksandr Tymoshenko 2011-11-26 00:30:39 +00:00
parent ba22f6c693
commit bb61ba0892

View File

@ -1639,4 +1639,7 @@ _xi-links:
ln -sf ../../${XDTP}/usr/bin/$$i \
../../../../usr/bin/${XDDIR}${OSREL}-$$i; \
done
.else
xdev xdev-buil xdev-install:
@echo "*** Error: Both XDEV and XDEV_ARCH must be defined for \"${.TARGET}\" target"
.endif