Merge lp:~scarneiro/ubuntu/raring/adns/fix-for-ignored-make-clean-errors into lp:ubuntu/raring/adns

Proposed by Sebastian Carneiro
Status: Rejected
Rejected by: Martin Pitt
Proposed branch: lp:~scarneiro/ubuntu/raring/adns/fix-for-ignored-make-clean-errors
Merge into: lp:ubuntu/raring/adns
Diff against target: 77 lines (+21/-6)
5 files modified
Makefile (+5/-2)
Makefile.in (+1/-1)
debian/changelog (+11/-0)
debian/control (+2/-1)
debian/rules (+2/-2)
To merge this branch: bzr merge lp:~scarneiro/ubuntu/raring/adns/fix-for-ignored-make-clean-errors
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+136558@code.launchpad.net

Description of the change

Corrected Makefile, Makefile.in and debian/rules to avoid ignoring
make clean errors, fixing lintian warning.

To post a comment you must log in.
Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks for your work on this. Do you think it would be possible for you to forward the change to Debian instead? It would make things a lot easier for us. You should be able to just run 'submittodebian' from the source tree to submit it there. http://developer.ubuntu.com/packaging/html/fixing-a-bug-example.html has some additional information as well.

Revision history for this message
Sebastian Carneiro (scarneiro) wrote :

> Thanks for your work on this. Do you think it would be possible for you to
> forward the change to Debian instead? It would make things a lot easier for
> us. You should be able to just run 'submittodebian' from the source tree to
> submit it there. http://developer.ubuntu.com/packaging/html/fixing-a-bug-
> example.html has some additional information as well.

Sure, I will do that. What about this merge proposal, should I delete it ?

Thanks, Daniel !

Revision history for this message
Daniel Holbach (dholbach) wrote :

I'll just ask for the merge proposal to be closed. Thanks a lot for your work Sebastian!

Revision history for this message
Sebastian Carneiro (scarneiro) wrote :

Unmerged revisions

8. By Sebastian Carneiro

* 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.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Makefile'
2--- Makefile 2006-10-17 17:45:15 +0000
3+++ Makefile 2012-11-28 02:37:24 +0000
4@@ -36,8 +36,11 @@
5
6 SUBDIRS= src $(SUBDIRS_DYNAMIC) client regress
7
8-all install uninstall clean distclean mostlyclean maintainer-clean distprep:
9- set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done
10+clean distclean mostlyclean maintainer-clean:
11+ $(MAKE) $@-here
12+
13+all install uninstall distprep:
14+ set -e; for d in $(SUBDIRS); $(MAKE) -C $$d $@; done
15 $(MAKE) $@-here
16
17 all-here install-here uninstall-here distprep-here: README
18
19=== modified file 'Makefile.in'
20--- Makefile.in 2006-10-17 17:45:15 +0000
21+++ Makefile.in 2012-11-28 02:37:24 +0000
22@@ -37,7 +37,7 @@
23 SUBDIRS= src $(SUBDIRS_DYNAMIC) client regress
24
25 all install uninstall clean distclean mostlyclean maintainer-clean distprep:
26- set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done
27+ set -e; for d in $(SUBDIRS); do [ -f $$d/Makefile ] && $(MAKE) -C $$d $@; done
28 $(MAKE) $@-here
29
30 all-here install-here uninstall-here distprep-here: README
31
32=== modified file 'debian/changelog'
33--- debian/changelog 2012-10-01 16:42:35 +0000
34+++ debian/changelog 2012-11-28 02:37:24 +0000
35@@ -1,3 +1,14 @@
36+adns (1.4-2ubuntu1) raring; urgency=low
37+
38+ * Fix for lintian warning, by which debian/rules ignores
39+ make clean / distclean:
40+ - debian/rules: stops ignoring make clean / distclean errors,
41+ and executes target if Makefile exists.
42+ - Makefile, Makefile.in: only executes distclean on current directory,
43+ as subdirs don't have that target.
44+
45+ -- Sebastian Carneiro <scarneiro@fibertel.com.ar> Tue, 27 Nov 2012 21:45:25 -0300
46+
47 adns (1.4-2build2) quantal; urgency=low
48
49 * Rebuild for new armel compiler default of ARMv5t.
50
51=== modified file 'debian/control'
52--- debian/control 2008-09-17 10:37:36 +0000
53+++ debian/control 2012-11-28 02:37:24 +0000
54@@ -1,7 +1,8 @@
55 Source: adns
56 Section: devel
57 Priority: optional
58-Maintainer: Robert S. Edmonds <edmonds@debian.org>
59+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
60+XSBC-Original-Maintainer: Robert S. Edmonds <edmonds@debian.org>
61 Build-Depends: debhelper (>= 7), netbase, m4
62 Standards-Version: 3.8.0
63 Homepage: http://www.chiark.greenend.org.uk/~ian/adns/
64
65=== modified file 'debian/rules'
66--- debian/rules 2008-06-15 20:08:31 +0000
67+++ debian/rules 2012-11-28 02:37:24 +0000
68@@ -14,8 +14,8 @@
69
70 clean:
71 dh clean --before dh_auto_clean
72- -$(MAKE) distclean
73- -$(MAKE) -C regress distclean
74+ [ ! -f Makefile ] || $(MAKE) distclean
75+ [ ! -f regress/Makefile ] || $(MAKE) -C regress distclean
76 rm -f regress/output-*
77 dh clean --after dh_auto_clean
78

Subscribers

People subscribed via source and target branches