[Pkg-dspam-misc] Bug#461134: debian/rules: Fix debian-rules-ignores-make-clean-error.
Michele Angrisano
darksun1988 at gmail.com
Wed Jan 16 20:40:12 UTC 2008
Package: dspam
Version: 3.6.8-5.1
Severity: wishlist
Tags: patch
User: Michele Angrisano <micheleangrisano at ubuntu.com>
Usertags: origin-ubuntu hardy ubuntu-patch
*** /tmp/tmpqmzwOR
In Ubuntu, we've applied the attached patch to achieve the following:
- debian/rules: Fix debian-rules-ignores-make-clean-error.
We thought you might be interested in doing the same.
-- System Information:
Debian Release: lenny/sid
APT prefers hardy-updates
APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500, 'hardy')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-14-generic (SMP w/1 CPU core)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
diff -u dspam-3.6.8/debian/rules dspam-3.6.8/debian/rules
--- dspam-3.6.8/debian/rules
+++ dspam-3.6.8/debian/rules
@@ -92,7 +92,7 @@
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
- -$(MAKE) clean
+ [ ! -f Makefile ] || $(MAKE) clean
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
cp -f /usr/share/misc/config.sub config.sub
More information about the Pkg-dspam-misc
mailing list