]> git.saurik.com Git - apt.git/blobdiff - debian/rules
eipp: provide the internal planer as an external one
[apt.git] / debian / rules
index cbe7e70b6106ed4025010f445a7fc2d4cdf32201..43e979dc854b3c5bb35d7027b864228db65a3fe2 100755 (executable)
@@ -189,7 +189,9 @@ apt: build-binary build-manpages debian/apt.install
        dh_install -p$@ --sourcedir=$(BLD)
 
        # Remove the bits that are in apt-utils
-       rm $(addprefix debian/$@/usr/bin/apt-,$(APT_UTILS) dump-solver internal-solver)
+       rm $(addprefix debian/$@/usr/bin/apt-,$(APT_UTILS) dump-solver internal-solver internal-planer)
+       cp $(BLD)/bin/apt-dump-solver debian/$@/usr/lib/apt/solvers/dump
+       ln -s ../solvers/dump debian/$@/usr/lib/apt/planers/dump
 
        # https has its own package
        rm debian/$@/usr/lib/apt/methods/https
@@ -250,8 +252,8 @@ apt-utils: build-binary build-manpages
        dh_installdirs -p$@
 
        cp $(addprefix $(BLD)/bin/apt-,$(APT_UTILS)) debian/$@/usr/bin/
-       cp $(BLD)/bin/apt-dump-solver debian/$@/usr/lib/apt/solvers/dump
        cp $(BLD)/bin/apt-internal-solver debian/$@/usr/lib/apt/solvers/apt
+       cp $(BLD)/bin/apt-internal-planer debian/$@/usr/lib/apt/planers/apt
 
        dh_install -p$@ --sourcedir=$(BLD)
        dh_link -p$@