no-check-if-root
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Sat, 2 Dec 2017 00:01:41 +0000 (00:01 +0000)
committerRene Engelhard <rene@debian.org>
Sat, 2 Dec 2017 00:01:41 +0000 (00:01 +0000)
Gbp-Pq: Name no-check-if-root.diff

Makefile.in

index e54f43cb6d76ebe2cac5d8a6e08b8bc9ff1f3d35..df20a66aaa5f166f1107c9a1d0f3a54a6e71bd73 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