summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:59:55 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:59:55 +0000
commite184b9df4e03547ea6df40285b8e3714eed9112c (patch)
treea4de3abad58f82cc830c18f3818dfe5093beaf1d
parent301a7101e840979ff297d762c195c10bbf08602d (diff)
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/
-rwxr-xr-xdebian/rules11
1 files changed, 5 insertions, 6 deletions
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.