Code

Using make magix makes things more complicated sometimes...
authorBernd Zeimetz <bzed@debian.org>
Sat, 9 Feb 2008 00:56:59 +0000 (01:56 +0100)
committerBernd Zeimetz <bzed@debian.org>
Sat, 9 Feb 2008 00:56:59 +0000 (01:56 +0100)
debian/rules

index 685669fec3d0a7a40a3b5f6e98dc6f7326fa329c..d451c008410a97fece33bf988a843fbcac6fc380 100755 (executable)
@@ -125,7 +125,7 @@ install: install-indep install-arch
 install-indep:
        dh_testdir
        dh_testroot
-       dh_clean -k -s
+       dh_clean -k -ppython-rrd
        dh_installdirs -s
 
 
@@ -134,7 +134,7 @@ install-indep:
 install-arch: $(PY_VERS:%=install-python%)
        dh_testdir
        dh_testroot
-       dh_clean -k -s
+       dh_clean -k -s -Npython-rrd
        dh_installdirs -s
 
        make install DESTDIR=$(CURDIR)/debian/tmp
@@ -154,6 +154,9 @@ install-arch: $(PY_VERS:%=install-python%)
        dh_installexamples -s
 
 install-python%:
+       dh_testdir
+       dh_testroot
+       dh_clean -k -s
        cd bindings/python && python$* setup.py install --root=$(CURDIR)/debian/python-rrd