X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=src%2FMakefile.am;h=2b9c49bab21ac5e4d02501498af189eb816a58dd;hb=2b26c7f721fc8ed2e6f64963289981ac286c02aa;hp=4827e271a92c6e6a4b99b1efe3ec8bdbf4e16461;hpb=e1aca6323e33e0dd50e23dc0d638f5789c9188e4;p=libguestfs.git diff --git a/src/Makefile.am b/src/Makefile.am index 4827e27..2b9c49b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -186,14 +186,3 @@ stamp-guestfs.pod: guestfs.pod \ --insert guestfs-structs.pod:@STRUCTS@ \ $< touch $@ - -# Check user doesn't try to do 'make all' or 'make check' as root. -# https://www.redhat.com/archives/libguestfs/2010-April/msg00098.html - -all-local: checkroot -check-local: checkroot -checkroot: - @if [ "`id -u`" = 0 ]; then \ - echo "*** Error: Don't run 'make' or 'make check' as root."; \ - exit 1; \ - fi