$(CONFARGS)
touch configure-stamp
-build: build-stamp
+build: build-arch build-indep
+build-arch: build-stamp
+build-indep: build-stamp
build-stamp: configure-stamp
dh_testdir
RSH="/usr/bin/rsh" CFLAGS="-O2 -g -Wall -fno-gnu89-inline" $(MAKE)
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
+ @runas=`whoami` ; \
+ if test $$runas = "root" ; \
+ then \
+ echo "Sorry, but the test suite is not designed to be run as root."; \
+ exit 1 ;\
+ fi
(cd tests ; $(MAKE) clean)
$(MAKE) check
endif