From 90adcc683565ff41b7d0bbf070589a157d8a26cd Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 14 Oct 2011 12:04:01 -0400 Subject: [PATCH] dh: Add dh_auto_configure parameter example. Closes: #645335 --- debian/changelog | 1 + dh | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/debian/changelog b/debian/changelog index 85c49b7..9dbf380 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ debhelper (8.9.9) UNRELEASED; urgency=low * dh_auto_build: Use target architecture for build directory name. Closes: #644553 Thanks, Tom Hughes + * dh: Add dh_auto_configure parameter example. Closes: #645335 -- Joey Hess Thu, 06 Oct 2011 19:26:08 -0400 diff --git a/dh b/dh index 3bcd069..4eae444 100755 --- a/dh +++ b/dh @@ -87,16 +87,16 @@ commands work with no additional options. Often you'll want to pass an option to a specific debhelper command. The easy way to do with is by adding an override target for that command. - + #!/usr/bin/make -f %: dh $@ - + override_dh_strip: dh_strip -Xfoo - - override_dh_installdocs: - dh_installdocs README TODO + + override_dh_auto_configure: + dh_auto_configure -- --with-foo --disable-bar Sometimes the automated L and L can't guess what to do for a strange package. Here's how to avoid running -- 2.39.2