Code

Create substvars for arch:all packages in -indep.
authorBernd Zeimetz <bzed@debian.org>
Sat, 9 Feb 2008 22:11:11 +0000 (23:11 +0100)
committerBernd Zeimetz <bzed@debian.org>
Sat, 9 Feb 2008 22:11:11 +0000 (23:11 +0100)
debian/rules

index a37399725cd5678870c1bc26c13ea29a5cbc5037..d495b9a21ef90f7a782536dafad459121d2ea700 100755 (executable)
@@ -167,6 +167,7 @@ binary-indep:
        dh_installchangelogs -i -Nlibrrd-ruby -Nlibrrd2-dev -Npython-rrd
        dh_installdocs -i -Nlibrrd-ruby -Nlibrrd2-dev -Npython-rrd
        dh_link -i -Nlibrrd-ruby -Nlibrrd2-dev -Npython-rrd
+       echo 'rubydefault:Depends=librrd-ruby$(RUBY_DEFAULT_VERS)' >> debian/librrd-ruby.substvars
        dh_perl -i
        dh_compress -i
        dh_fixperms -i
@@ -185,7 +186,6 @@ binary-arch: build-arch install-arch
        dh_pysupport -ppython-rrdtool
        dh_perl -a
        dh_installman -a
-       echo 'rubydefault:Depends=librrd-ruby$(RUBY_DEFAULT_VERS)' >> debian/librrd-ruby.substvars
        dh_link -plibrrd-dev /usr/lib/librrd.so.$(LIB_version) /usr/lib/librrd.so
        dh_link -plibrrd-dev /usr/lib/librrd_th.so.$(LIB_TH_version) /usr/lib/librrd_th.so
        dh_link -plibrrd$(LIB_major) /usr/lib/librrd.so.$(LIB_version) /usr/lib/librrd.so.$(LIB_major)