From 1171eaacfa53004537dc47fc895e06b8735e50cb Mon Sep 17 00:00:00 2001 From: "rohieb@agathe.wilhelm-gym.net" Date: Wed, 23 Jul 2008 04:37:57 +0200 Subject: [PATCH 1/1] Makefile: chkdb etc. is only called if DESTDIR is empty, so there is no need for debian/rules to sudo the install --- Makefile | 2 ++ debian/rules | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6abcb9d..b4a19c6 100644 --- a/Makefile +++ b/Makefile @@ -88,9 +88,11 @@ sourcedoc: # install everything install: sourcedoc links +ifeq($(DESTDIR),) # only useful if sql data is in the right place chkdb -r chkpriv chklocale +endif # uninstalling uninstall: diff --git a/debian/rules b/debian/rules index 3b1e5e8..4b4d190 100755 --- a/debian/rules +++ b/debian/rules @@ -10,7 +10,7 @@ binary-indep: dh_testroot dh_clean -k dh_installdirs - sudo $(MAKE) DESTDIR=$(CURDIR)/debian/iserv-room-reservation install + $(MAKE) DESTDIR=$(CURDIR)/debian/iserv-room-reservation install dh_testdir dh_testroot -- 2.20.1