no-check-if-root
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Thu, 14 Dec 2017 23:29:20 +0000 (23:29 +0000)
committerRene Engelhard <rene@debian.org>
Thu, 14 Dec 2017 23:29:20 +0000 (23:29 +0000)
Gbp-Pq: Name no-check-if-root.diff

Makefile.in

index 8566d0fb0fbacc7feb49f5a98561ec2792028bd1..9f3473e36afc357ee3be4b80c5496b1284fef839 100644 (file)
@@ -9,7 +9,7 @@
 
 gb_Top_MODULE_CHECK_TARGETS := slowcheck unitcheck subsequentcheck perfcheck uicheck screenshot
 
-.PHONY : all check-if-root bootstrap gbuild build build-non-l10n-only build-l10n-only check clean clean-build clean-host test-install distclean distro-pack-install distro-pack-install-strip docs download etags fetch findunusedcode get-submodules id install install-strip tags debugrun help showmodules translations packageinfo internal.clean $(gb_Top_MODULE_CHECK_TARGETS)
+.PHONY : all bootstrap gbuild build build-non-l10n-only build-l10n-only check clean clean-build clean-host test-install distclean distro-pack-install distro-pack-install-strip docs download etags fetch findunusedcode get-submodules id install install-strip tags debugrun help showmodules translations packageinfo internal.clean $(gb_Top_MODULE_CHECK_TARGETS)
 
 MAKECMDGOALS?=all
 build_goal:=$(if $(filter build check,$(MAKECMDGOALS)),all)\
@@ -57,14 +57,6 @@ else # MAKE_RESTARTS
 
 all: build
 
-check-if-root:
-       @if test `id -u` = 0 && ! grep -q 'lxc\|docker' /proc/self/cgroup; then \
-               echo; \
-               echo 'No. You make ME a sandwich.'; \
-               echo; \
-               exit 1; \
-       fi
-
 gb_Side ?= host
 
 include $(BUILDDIR)/config_$(gb_Side).mk
@@ -254,7 +246,7 @@ endif
 #
 # Bootstrap
 #
-bootstrap: check-if-root compilerplugins
+bootstrap: compilerplugins
 
 #
 # Build