version 1.74, 2016/10/10 13:34:43 |
version 1.75, 2016/10/14 10:14:00 |
|
|
@exit 2 |
@exit 2 |
.else |
.else |
build: |
build: |
exec ${SUDO} ${MAKE} bootstrap-root |
@if [[ `id -u` -ne 0 ]]; then \ |
cd util/macros && exec ${MAKE} -f Makefile.bsd-wrapper |
echo $@ must be called by root >&2; \ |
exec ${SUDO} ${MAKE} beforebuild |
false; \ |
|
fi |
|
exec ${MAKE} bootstrap-root |
|
cd util/macros && \ |
|
exec su ${BUILDUSER} -c 'exec ${MAKE} -f Makefile.bsd-wrapper' |
|
exec ${MAKE} beforebuild |
exec ${MAKE} realbuild |
exec ${MAKE} realbuild |
exec ${SUDO} ${MAKE} afterbuild |
exec ${MAKE} afterbuild |
.endif |
.endif |
|
|
realbuild: _SUBDIRUSE |
realbuild: _SUBDIRUSE |
# that's all folks |
# that's all folks |
|
|
bootstrap: |
bootstrap: |
exec ${SUDO} ${MAKE} bootstrap-root |
@if [[ `id -u` -ne 0 ]]; then \ |
|
echo $@ must be called by root >&2; \ |
|
false; \ |
|
fi |
|
exec ${MAKE} bootstrap-root |
|
|
bootstrap-root: |
bootstrap-root: |
exec ${MAKE} distrib-dirs |
exec ${MAKE} distrib-dirs |