Makefile: chkdb etc. is only called if DESTDIR is empty, so there is no need for...
authorrohieb@agathe.wilhelm-gym.net <rohieb@agathe.wilhelm-gym.net>
Wed, 23 Jul 2008 02:37:57 +0000 (04:37 +0200)
committerrohieb@agathe.wilhelm-gym.net <rohieb@agathe.wilhelm-gym.net>
Wed, 23 Jul 2008 02:37:57 +0000 (04:37 +0200)
Makefile
debian/rules

index 6abcb9d..b4a19c6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -88,9 +88,11 @@ sourcedoc:
 \r
 # install everything\r
 install: sourcedoc links\r
+ifeq($(DESTDIR),) # only useful if sql data is in the right place\r
        chkdb -r\r
        chkpriv\r
        chklocale\r
+endif\r
 \r
 # uninstalling\r
 uninstall:\r
index 3b1e5e8..4b4d190 100755 (executable)
@@ -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
This page took 0.027443 seconds and 4 git commands to generate.