]> git.saurik.com Git - apt.git/commitdiff
Preserve CCACHE_DIR also
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 17:04:21 +0000 (17:04 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 17:04:21 +0000 (17:04 +0000)
Author: mdz
Date: 2003-12-21 00:37:58 GMT
Preserve CCACHE_DIR also

debian/changelog
debian/rules

index 518431e3103dffd5068cae55a04bb4b94bf43857..e683db439bc5cd6d44085ca9d4664874825075b4 100644 (file)
@@ -29,8 +29,8 @@ apt (0.5.15) unstable; urgency=low
   * Clarify documentation of --no-upgrade in apt-get(8) (Closes: #219743)
   * Clean up and simplify some of the suggests/recommends display in apt-get
   * Use cvs update -d in debian/rules cvs-build rather than just update
-  * Pass --preserve-envvar PATH to debuild.  apt takes a long time to
-    build, and this defeats ccache
+  * Pass --preserve-envvar PATH --preserve-envvar CCACHE_DIR to debuild.  apt
+    takes a long time to build, and ccache helps
 
  -- Matt Zimmerman <mdz@debian.org>  Sat, 20 Dec 2003 16:34:30 -0800
 
index c472b8f797bed07fbc0ff6a8dcacd4b1ddb20e6f..dd2c993ca4c47c680d08e32b566a0801459eef9c 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.60 2003/12/21 00:34:40 mdz Exp $
+# $Id: rules,v 1.61 2003/12/21 00:37:58 mdz 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.
@@ -30,7 +30,7 @@ endif
 # Default rule
 build:
 
-DEB_BUILD_PROG:=debuild --preserve-envvar PATH -us -uc
+DEB_BUILD_PROG:=debuild --preserve-envvar PATH --preserve-envvar CCACHE_DIR -us -uc
 APT_DEBVER=$(shell dpkg-parsechangelog |sed -n -e '/^Version:/s/^Version: //p')
 APT_CONFVER=$(shell sed -n -e 's/^AC_DEFINE_UNQUOTED(VERSION,"\(.*\)")/\1/p' configure.in)