⇤ ← Revision 1 as of 2021-08-31 15:46:03
Size: 665
Comment: create new page. wtf did this not exist before?!?
|
Size: 747
Comment: cleanup
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
Debhelper is a tool that is used inside debian/rules files to ease packacke building. This page desperately needs more content | Debhelper is a tool that is used inside debian/rules files to ease package building. This page collects tips for using debhelper. |
Line 5: | Line 5: |
== docs == | == Documentation == |
Line 7: | Line 7: |
Add links to debhelper documentation here. | * Manual pages: [[DebianMan:debhelper|debhelper(7)]] [[DebianMan:dh|dh(1)]] |
Line 9: | Line 9: |
== finding out how it works == | == Finding out how it works == |
Line 11: | Line 11: |
* dh(1) prints which commands it executes. If you set DH_VERBOSE=1 in the rules you should also see what do debhelper helpers do in more details. * You can run `dh <target> --no-act` for each <target> you want (build, clean, binary etc.) to see what will dh(1) run for that target. |
* `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. |
Line 15: | Line 16: |
== why does this page exist == | == Why does this page exist == |
Line 17: | Line 18: |
ZugSchlus stumbled upon helpful snippets by wRAR on debian-mentors and wanted to put them on the Wiki | ZugSchlus stumbled upon helpful snippets by wRAR on debian-mentors and wanted to put them on the Wiki. |
debhelper
Debhelper is a tool that is used inside debian/rules files to ease package building. This page collects tips for using debhelper.
Documentation
Manual pages: debhelper(7) dh(1)
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.