This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch master
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=7b6c094240a722889693ea39e62ae7c380cf9484

commit 7b6c094240a722889693ea39e62ae7c380cf9484
Author: Guillem Jover <[email protected]>
AuthorDate: Sun Aug 14 00:36:20 2016 +0200

    build: Do not use make prerequisites on suffix rule definitions
    
    This do not have the intended effect of declaring a dependency, and
    might be considered instead as normal files with funky names with
    newer make versions.
    
    Warned-by: make
    Closes: #961850
---
 debian/changelog            | 2 ++
 dselect/methods/Makefile.am | 2 +-
 man/Makefile.am             | 8 ++++----
 scripts/Makefile.am         | 4 ++--
 4 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 58169b065..30df7a1ba 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -74,6 +74,8 @@ dpkg (1.20.1) UNRELEASED; urgency=medium
       repeating it for each man page.
     - Use po4a conditional addendum support, and remove empty addenda.
     - Use po4a mode=eof support in addenda.
+    - Do not use make prerequisites on suffix rule definitions.
+      Closes: #961850
   * Packaging:
     - Switch to debhelper compatibility level 13.
     - Remove debian/tmp prefix from manpages debhelper fragment files.
diff --git a/dselect/methods/Makefile.am b/dselect/methods/Makefile.am
index 2fe915717..7debf368d 100644
--- a/dselect/methods/Makefile.am
+++ b/dselect/methods/Makefile.am
@@ -43,7 +43,7 @@ do_perl_subst = $(AM_V_GEN) sed \
 
 SUFFIXES = .pl
 
-.pl: Makefile
+.pl:
        @test -d `dirname $@` || $(MKDIR_P) `dirname $@`
        $(do_perl_subst) <$< >$@
        $(AM_V_at) chmod +x $@
diff --git a/man/Makefile.am b/man/Makefile.am
index a34a59599..5b7749d91 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -213,13 +213,13 @@ MANGEN = $(MANGEN_V) sed \
        -e 's:%PKGDATADIR%:$(pkgdatadir):g'
        $(nil)
 
-.man.1: Makefile
+.man.1:
        $(MANGEN) $< >$@
-.man.5: Makefile
+.man.5:
        $(MANGEN) $< >$@
-.man.7: Makefile
+.man.7:
        $(MANGEN) $< >$@
-.man.8: Makefile
+.man.8:
        $(MANGEN) $< >$@
 
 install-data-local: install-data-local-@USE_PO4A@
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 887b5d616..d36dbd1eb 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -151,12 +151,12 @@ do_shell_subst = $(AM_V_GEN) sed \
 
 SUFFIXES = .pl .sh
 
-.pl: Makefile
+.pl:
        @test -d `dirname $@` || $(MKDIR_P) `dirname $@`
        $(do_perl_subst) <$< >$@
        $(AM_V_at) chmod +x $@
 
-.sh: Makefile
+.sh:
        @test -d `dirname $@` || $(MKDIR_P) `dirname $@`
        $(do_shell_subst) <$< >$@
        $(AM_V_at) chmod +x $@

-- 
Dpkg.Org's dpkg

Reply via email to