Package: adns
Version: 1.4-2
Severity: minor
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu raring ubuntu-patch

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

*** /tmp/tmpbEQpGG/bug_body

In Ubuntu, the attached patch was applied to achieve the following:

  * Fix for lintian warning, by which debian/rules ignores 
    make clean / distclean: 
    - debian/rules: stops ignoring make clean / distclean errors, 
      and executes target if Makefile exists.
    - Makefile, Makefile.in: only executes distclean on current directory, 
      as subdirs don't have that target. 


Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers quantal-updates
  APT policy: (500, 'quantal-updates'), (500, 'quantal-security'), (500, 
'quantal-proposed'), (500, 'quantal')
Architecture: i386 (i686)

Kernel: Linux 3.5.0-19-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
=== modified file 'Makefile'
--- Makefile	2006-10-17 17:45:15 +0000
+++ Makefile	2012-11-28 01:47:07 +0000
@@ -36,8 +36,11 @@
 
 SUBDIRS= src $(SUBDIRS_DYNAMIC) client regress
 
-all install uninstall clean distclean mostlyclean maintainer-clean distprep:
-	set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done
+clean distclean mostlyclean maintainer-clean:
+	$(MAKE) $@-here
+	
+all install uninstall distprep:
+	set -e; for d in $(SUBDIRS); $(MAKE) -C $$d $@; done
 	$(MAKE) $@-here
 
 all-here install-here uninstall-here distprep-here:	README

=== modified file 'Makefile.in'
--- Makefile.in	2006-10-17 17:45:15 +0000
+++ Makefile.in	2012-11-30 00:12:15 +0000
@@ -36,7 +36,10 @@
 
 SUBDIRS= src $(SUBDIRS_DYNAMIC) client regress
 
-all install uninstall clean distclean mostlyclean maintainer-clean distprep:
+clean distclean mostlyclean maintainer-clean
+	$(MAKE) $@-here
+
+all install uninstall distprep:
 	set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done
 	$(MAKE) $@-here
 

=== modified file 'debian/changelog'

=== modified file 'debian/control'
--- debian/control	2008-09-17 10:37:36 +0000
+++ debian/control	2012-11-30 00:12:24 +0000
@@ -1,7 +1,8 @@
 Source: adns
 Section: devel
 Priority: optional
-Maintainer: Robert S. Edmonds <edmo...@debian.org>
+Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com>
+XSBC-Original-Maintainer: Robert S. Edmonds <edmo...@debian.org>
 Build-Depends: debhelper (>= 7), netbase, m4
 Standards-Version: 3.8.0
 Homepage: http://www.chiark.greenend.org.uk/~ian/adns/

=== modified file 'debian/rules'
--- debian/rules	2008-06-15 20:08:31 +0000
+++ debian/rules	2012-11-28 01:50:43 +0000
@@ -14,8 +14,8 @@
 
 clean:
 	dh clean --before dh_auto_clean
-	-$(MAKE) distclean
-	-$(MAKE) -C regress distclean
+	[ ! -f Makefile ] || $(MAKE) distclean
+	[ ! -f regress/Makefile ] || $(MAKE) -C regress distclean
 	rm -f regress/output-*
 	dh clean --after dh_auto_clean
 

Reply via email to