Differences between revisions 2 and 3
Revision 2 as of 2021-09-01 02:59:51
Size: 747
Editor: PaulWise
Comment: cleanup
Revision 3 as of 2021-09-01 03:01:06
Size: 746
Editor: PaulWise
Comment: fix spacing
Deletions are marked like this. Additions are marked like this.
Line 13: Line 13:
 * You can run `dh <target> --no-act` for each <target> you want (build,
clean, binary etc.) to see what `dh` would run for that target.
 * You can run `dh <target> --no-act` for each <target> you want (build, clean, binary etc.) to see what `dh` would run for that target.

debhelper

Debhelper is a tool that is used inside debian/rules files to ease package building. This page collects tips for using debhelper.

Documentation

Finding out how it works

  • dh prints the commands that it executes.

  • If you add export DH_VERBOSE=1 to debian/rules, the debhelper commands will print more information about what they are doing.

  • You can run dh <target> --no-act for each <target> you want (build, clean, binary etc.) to see what dh would run for that target.

Why does this page exist

ZugSchlus stumbled upon helpful snippets by wRAR on debian-mentors and wanted to put them on the Wiki.