]> git.saurik.com Git - apt.git/blobdiff - debian/rules
Various bug fixes
[apt.git] / debian / rules
index 99164c183a3e08350b0cce83f0ee114e8b0d3aab..657acee1f476aef737cb7e071d162cb119b844e9 100755 (executable)
@@ -2,7 +2,7 @@
 # Made with the aid of dh_make, by Craig Small
 # Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
 # Some lines taken from debmake, by Christoph Lameter.
-# $Id: rules,v 1.31 2001/03/04 23:01:45 tausq Exp $
+# $Id: rules,v 1.33 2001/04/29 05:49:27 jgg Exp $
 
 # LD_LIBRARY_PATH=pwd/debian/apt/usr/lib dh_shlibdeps -papt
 # dpkg: /home/jgg/work/apt2/debian/apt/usr/lib/libapt-pkg.so.2.9 not found.
@@ -89,6 +89,7 @@ configure: configure.in
 build/configure-stamp: configure
        dh_testdir
        -mkdir build
+       cp COPYING debian/copyright
        (cd build; ../configure)
        touch $@
 
@@ -245,7 +246,7 @@ apt-utils: build debian/shlibs.local
        dh_fixperms -p$@
        dh_installdeb -p$@
        LD_LIBRARY_PATH=`pwd`/debian/apt/usr/lib:`pwd`/debian/$@/usr/lib dh_shlibdeps -p$@ -- -Ldebian/shlibs.local.apt-utils
-       dh_gencontrol -p$@ -u -Vlibapt-inst:major=$(LIBAPTINST_MAJOR)
+       dh_gencontrol -p$@ -u -Vlibapt-inst:provides=$(LIBAPTINST_PROVIDE)
        dh_makeshlibs -m$(LIBAPTINST_MAJOR) -V '$(LIBAPTINST_PROVIDE)' -p$@
        dh_md5sums -p$@
        dh_builddeb -p$@