From c871b973337d20ab75e2753dbd8902c8e5c49a8c Mon Sep 17 00:00:00 2001 From: joey Date: Mon, 7 Nov 2005 20:16:50 +0000 Subject: [PATCH] r1811: * 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. --- debian/changelog | 8 ++++++++ debian/rules | 1 - t/syntax | 11 +++++++++++ 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 t/syntax diff --git a/debian/changelog b/debian/changelog index 5b2ddd5..b575957 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 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 diff --git a/debian/rules b/debian/rules index 4029f20..0457356 100755 --- a/debian/rules +++ b/debian/rules @@ -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 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); +} -- 2.39.2