From: Arch Librarian Date: Mon, 20 Sep 2004 16:59:55 +0000 (+0000) Subject: Call make clean and distclean before removing build/ X-Git-Tag: 0.7.24ubuntu1~865 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/e184b9df4e03547ea6df40285b8e3714eed9112c Call make clean and distclean before removing build/ Author: doogie Date: 2002-11-10 23:58:33 GMT Call make clean and distclean before removing build/ --- diff --git a/debian/rules b/debian/rules index addd653e2..0b932a71e 100755 --- a/debian/rules +++ b/debian/rules @@ -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.42 2002/11/10 00:11:32 doogie Exp $ +# $Id: rules,v 1.43 2002/11/10 23:58:33 doogie 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. @@ -119,14 +119,13 @@ build/build-stamp: build/configure-stamp clean: dh_testdir # dh_testroot - rm -f build-stamp debian/shlibs.local + -$(MAKE) clean + -$(MAKE) distclean + rm -rf build - rm -f debian/shlibs.local.apt debian/shlibs.local.apt-utils # Add here commands to clean up after the build process. - -$(MAKE) clean - -$(MAKE) distclean - dh_clean debian/copyright + dh_clean debian/copyright debian/shlibs.local debian/shlibs.local.apt debian/shlibs.local.apt-utils binary-indep: libapt-pkg-doc # Build architecture-independent files here.