The following commit has been merged in the master branch:
commit 1e56ef3cc32e2444685c6b1fd802328b50a3aaa2
Author: Jakub Wilk <[email protected]>
Date:   Thu Sep 8 18:42:36 2011 +0200

    Added missing "all" targets to some test Makefiles
    
    Without these dh_auto_build would run the install target during
    build but without DESTDIR.  This leads to modification of the
    "host" system during build (if built as root) or (possibly) FTBFS
    due to insufficient permissions (to modify the host system).
    
    Signed-off-by: Niels Thykier <[email protected]>

diff --git a/t/tests/fields-architecture/debian/Makefile 
b/t/tests/fields-architecture/debian/Makefile
index c86cd92..6df56c1 100644
--- a/t/tests/fields-architecture/debian/Makefile
+++ b/t/tests/fields-architecture/debian/Makefile
@@ -1,3 +1,5 @@
+all:
+
 install:
        install -d -m 0755 "$(DESTDIR)/usr/lib/package"
        echo "Hallo World" > "$(DESTDIR)/usr/lib/package/some-file"
diff --git a/t/tests/fields-depends-wildcard/debian/Makefile 
b/t/tests/fields-depends-wildcard/debian/Makefile
index c86cd92..6df56c1 100644
--- a/t/tests/fields-depends-wildcard/debian/Makefile
+++ b/t/tests/fields-depends-wildcard/debian/Makefile
@@ -1,3 +1,5 @@
+all:
+
 install:
        install -d -m 0755 "$(DESTDIR)/usr/lib/package"
        echo "Hallo World" > "$(DESTDIR)/usr/lib/package/some-file"
diff --git a/t/tests/fields-doc-pkg-wrong-arch/debian/Makefile 
b/t/tests/fields-doc-pkg-wrong-arch/debian/Makefile
index c86cd92..6df56c1 100644
--- a/t/tests/fields-doc-pkg-wrong-arch/debian/Makefile
+++ b/t/tests/fields-doc-pkg-wrong-arch/debian/Makefile
@@ -1,3 +1,5 @@
+all:
+
 install:
        install -d -m 0755 "$(DESTDIR)/usr/lib/package"
        echo "Hallo World" > "$(DESTDIR)/usr/lib/package/some-file"
diff --git a/t/tests/fields-indep-without-arch-indep/debian/Makefile 
b/t/tests/fields-indep-without-arch-indep/debian/Makefile
index c86cd92..6df56c1 100644
--- a/t/tests/fields-indep-without-arch-indep/debian/Makefile
+++ b/t/tests/fields-indep-without-arch-indep/debian/Makefile
@@ -1,3 +1,5 @@
+all:
+
 install:
        install -d -m 0755 "$(DESTDIR)/usr/lib/package"
        echo "Hallo World" > "$(DESTDIR)/usr/lib/package/some-file"
diff --git a/t/tests/fields-multi-arch/debian/Makefile 
b/t/tests/fields-multi-arch/debian/Makefile
index c86cd92..6df56c1 100644
--- a/t/tests/fields-multi-arch/debian/Makefile
+++ b/t/tests/fields-multi-arch/debian/Makefile
@@ -1,3 +1,5 @@
+all:
+
 install:
        install -d -m 0755 "$(DESTDIR)/usr/lib/package"
        echo "Hallo World" > "$(DESTDIR)/usr/lib/package/some-file"

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to