summaryrefslogtreecommitdiff
path: root/dh
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-10-14 12:04:01 -0400
committerJoey Hess <joey@kitenet.net>2011-10-14 12:04:01 -0400
commit90adcc683565ff41b7d0bbf070589a157d8a26cd (patch)
tree44fcbd396e60200105f29754c8b3aa1b893f772b /dh
parentb023550cd4256f0341c43860645b77c25f470509 (diff)
dh: Add dh_auto_configure parameter example. Closes: #645335
Diffstat (limited to 'dh')
-rwxr-xr-xdh10
1 files changed, 5 insertions, 5 deletions
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<dh_auto_configure(1)> and L<dh_auto_build(1)>
can't guess what to do for a strange package. Here's how to avoid running