Gbp-Pq: Name no-check-if-root.diff
.DEFAULT_GOAL := build
-# Nested test is to check if the systemd-detect-virt command doesn't exist or it reports we're not
-# in a container:
-check-if-root:
- @if test ! `uname` = 'Haiku' -a `id -u` = 0; then \
- if test ! -x "$$(command -v systemd-detect-virt)" || ! systemd-detect-virt -c -q; then \
- echo; \
- echo 'Building LibreOffice as root is a very bad idea, use a regular user.'; \
- echo; \
- exit 1; \
- fi \
- fi
-
gb_Side ?= host
include $(BUILDDIR)/config_$(gb_Side).mk
#
# Bootstrap
#
-bootstrap: check-if-root compilerplugins
+bootstrap: compilerplugins
#
# Build