]> git.donarmstrong.com Git - debhelper.git/commitdiff
r1811: * Remove dh_shlibs from binary-indep section of debian/rules.
authorjoey <joey>
Mon, 7 Nov 2005 20:16:50 +0000 (20:16 +0000)
committerjoey <joey>
Mon, 7 Nov 2005 20:16:50 +0000 (20:16 +0000)
* Add t/syntax to make sure all dh_* commands and the libraries syntax check
  ok.

debian/changelog
debian/rules
t/syntax [new file with mode: 0644]

index 5b2ddd57c0d7e9ae1e8360a21e04f21553d2b43d..b575957e762265af7adae2904dd1a9342512e511 100644 (file)
@@ -1,3 +1,11 @@
+debhelper (5.0.3) UNRELEASED; urgency=low
+
+  * Remove dh_shlibs from binary-indep section of debian/rules.
+  * Add t/syntax to make sure all dh_* commands and the libraries syntax check
+    ok.
+
+ -- Joey Hess <joeyh@debian.org>  Mon,  7 Nov 2005 15:17:09 -0500
+
 debhelper (5.0.2) unstable; urgency=low
 
   * Sometimes it's a good idea to edit more files than just the changelog
index 4029f2092af6ab952c794d2892ea56dfbde0ae13..0457356affe36c0cb2154ea1a5547e81f34f24b7 100755 (executable)
@@ -80,7 +80,6 @@ binary-indep: build
        ./run dh_installexamples examples/*
        ./run dh_installman *.1 *.7
        ./run dh_installchangelogs
-       ./run dh_shlibdeps
        ./run dh_link
        ./run dh_compress
        ./run dh_fixperms
diff --git a/t/syntax b/t/syntax
new file mode 100644 (file)
index 0000000..b647b91
--- /dev/null
+++ b/t/syntax
@@ -0,0 +1,11 @@
+#!/usr/bin/perl
+use Test;
+
+my @progs=grep { -x $_ } glob("dh_*");
+my @libs=glob("Debian/Debhelper/*.pm");
+
+plan(tests => (@progs + @libs));
+
+foreach my $file (@progs, @libs) {
+       ok(system("perl -c $file >/dev/null 2>&1"), 0);
+}