summaryrefslogtreecommitdiff
path: root/dh
Commit message (Collapse)AuthorAge
* dh: Remove duplicate dh_installcatalogs list. Closes: #545483 (It was only ↵Joey Hess2009-09-07
| | | | run once due to logging.)
* drop regex support from remove_command_optionsJoey Hess2009-08-26
| | | | | | | | | | | | | I hope that it will not be needed; indeed I doubt that remove_command_options will be used much, because sequence addons would need to try to do conflicting things to need it. And the interface makes it hard for such conflicting sequence addons to work around the other, since addons can be loaded in either order. So let's not encourage them too much, and if there's a use case later, we can made changes. I haven't applied Modestas's enhanced patch that allows adding an option to all commands because I similarly think it might not be used. If a use case comes along we can add something like that.
* Allow dh addons to pass options to debhelper commandsModestas Vainius2009-08-26
| | | | | | | | Add dh addons APIs add_command_options()/remove_command_options() that allow addons to add additional options which dh will pass to the specified debhelper commands. Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* dh: Display $@ error if addon load fails. Closes: #541845Joey Hess2009-08-16
|
* avoid loading File::Spec when not neededJoey Hess2009-08-16
|
* dh: Add --list option to list available addons.Colin Watson2009-08-16
|
* dh: Allow creation of new sequences (such as to handle a patch target for ↵Joey Hess2009-08-06
| | | | quilt), by adding an add_command function to the sequence addon interface. See #540124.
* Use ASCII RS for separating options in DH_INTERNAL_OPTIONS.Modestas Vainius2009-06-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since now extra options via dh command line arguments are encouraged, dh will break when a bit more complex option gets added to DH_INTERNAL_OPTIONS and it gets misparsed by the debhelper command called from the override. E.g. debian/rules: | %: | dh --builddirectory="build dir" | | override_dh_install: | dh_install Will fail with something like: | .... | make[1]: Entering directory `............' | dh_install | cp: cannot stat `debian/tmp/dir': No such file or directory | dh_install: cp returned exit code 1 | make[1]: *** [override_dh_install] Error 1 So since DH_INTERNAL_OPTIONS is exclusively for internal use, why not to use an old good ASCII unrepresentable control character as a separator? So I chose ASCII 1E - RS Record Separator. Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* Make dh not complain about unknown, command-specific options passed to itJoey Hess2009-06-29
| | | | | and further suppress warnings about such options it passes on to debhelper commands. This was attempted incompletely before in version 7.2.17.
* add exampleJoey Hess2009-06-28
|
* dh_scrollkeeper: Now a deprecated no-op. Closes: #530806Joey Hess2009-05-27
|
* dh: Avoid writing log after override_dh_clean is run. Closes: #529228Joey Hess2009-05-18
|
* dh: Support --with addon,addon,... Closes: #528178Joey Hess2009-05-11
|
* mention quiltJoey Hess2009-05-08
|
* dh: Add --without to allow disabling sequence addons (particularly useful to ↵Joey Hess2009-05-04
| | | | disable the default python-support addon).
* releasing version 7.2.8Joey Hess2009-04-20
|
* Move dh sequence documentation to PROGRAMMING.Joey Hess2009-04-20
|
* dh_desktop: Now a deprecated no-op, since desktop-file-utils uses triggers. ↵Joey Hess2009-04-10
| | | | Closes: #523474 (also Closes: #521960, #407701 as no longer applicable)
* export write_logJoey Hess2009-03-23
| | | | Avoids the ugly thunk in dh
* Add a global --remaining-packages option.Modestas Vainius2009-03-23
| | | | | | | | Add a global --remaining-packages option which allows to skip the command on the packages which it has already been run on (i.e. if the command helper is already present in the package debhelper log). Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* pass -N into DH_INTERNAL_OPTIONSJoey Hess2009-03-20
| | | | | | | I think I didn't do this before because it could result in parseoptions() erroring because there were no packages to act on. That is not going to be an error soon though, and it makes sense to pass in the -N excludes.
* Add dh_bugfiles - a helper for reportbug filesModestas Vainius2009-03-06
| | | | | | | * Add a new helper: dh_bugfiles. It can be used for installing bug reporting customization files (Closes: #326874). Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* dh: Override LC_ALL, not LANG. Closes: #517617Joey Hess2009-03-06
|
* Merge branch 'dh_overrides'Joey Hess2009-02-28
|\ | | | | | | | | Conflicts: debian/changelog
| * dh: Fix make parsing to not be broken by locale settings. Closes: #517617Joey Hess2009-02-28
| |
* | Merge branch 'dh_overrides'Joey Hess2009-02-28
|\| | | | | | | | | Conflicts: debian/changelog
| * dh: Man page typo. Closes: #517549, #517550Joey Hess2009-02-28
| |
| * dh: Man page typo. Closes: #517549Joey Hess2009-02-28
| |
| * remove -B from examples for nowJoey Hess2009-02-27
| | | | | | | | | | | | There is some concern that passing -B to make may violate debian policy. <eyeroll> (cherry picked from commit 09090c86ea099008990bc5a9a14e1ac35bb1e584)
| * use Dh_Lib write_logJoey Hess2009-02-27
| | | | | | | | (cherry picked from commit 9d700975929417fe72bf46271c694ccb09d1c905)
| * use -Bf in all examplesJoey Hess2009-02-27
| | | | | | | | (cherry picked from commit 8cdac50db64b2f2d6aacdcfc4683fdcf79cee629)
| * can use a hyphen hereJoey Hess2009-02-27
| | | | | | | | (cherry picked from commit 057cdfd0ff9f4bc6f7c07cf4968a2ef52a59d0c0)
| * document how to use python-centralJoey Hess2009-02-27
| | | | | | | | (cherry picked from commit dc45c6f8c748ed57527d1aeb286f0db571308ec2)
| * make dh override_dh_* a no-opJoey Hess2009-02-27
| | | | | | | | | | | | This happens if the override target is completly empty. Make sees it is, and runs the implicit dh target. (cherry picked from commit 86fbd6038ee5b7222efa774751fcceedeffedfc2)
| * dh: Support debian/rules calling make with -BJoey Hess2009-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | That is useful to avoid issues with phony implicit rules (see bug #509756). Apparently make treats the name of the Makfile as an automaticall set up target, so this causes it to try to build the Makefile even though it's up-to-date, and the implicit target makes it run 'dh debian/rules'. So, make that a no-op. (cherry picked from commit 378b377ef732119de4c2a08dcb9721500b017da1) Conflicts: debian/changelog dh
| * misc minor cleanups of patchJoey Hess2009-02-27
| | | | | | | | (cherry picked from commit ae4994f07656deb47ffc55b8ebd4668c158b9333)
| * Smart debian/rules parser for dh.Modestas Vainius2009-02-27
| | | | | | | | | | | | | | | | This parser is based on the output which make -p emits. It's a bit more slower due to the need to run make itself but it is not dumb. Signed-off-by: Modestas Vainius <modestas@vainius.eu> (cherry picked from commit 3d774a91dd355f8236c63bd81fc4dfe5fa88219d)
| * dh override targetsJoey Hess2009-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * dh: debian/rules override targets can change what is run for a specific debhelper command in a sequence. * dh: Redid all the examples to use override targets, since these eliminate all annoying boilerplate and are much easier to understand than the old method. * Remove rules.simple example, there's no need to use explcit targets with dh anymore. (cherry picked from commit 0f3f59fe6058edfda4010dc88bd3b8aa3ae70a6d) Conflicts: Debian/Debhelper/Dh_Getopt.pm Debian/Debhelper/Dh_Lib.pm debian/changelog dh
| * wordingJoey Hess2009-02-27
| | | | | | | | (cherry picked from commit 9e9f49c03fe968effe2ade343d8665386bc8e4c2)
* | remove -B from examples for nowJoey Hess2009-02-19
| | | | | | | | | | There is some concern that passing -B to make may violate debian policy. <eyeroll>
* | use Dh_Lib write_logJoey Hess2009-02-17
| |
* | use -Bf in all examplesJoey Hess2009-02-17
| |
* | can use a hyphen hereJoey Hess2009-02-17
| |
* | document how to use python-centralJoey Hess2009-02-17
| |
* | make dh override_dh_* a no-opJoey Hess2009-02-17
| | | | | | | | | | This happens if the override target is completly empty. Make sees it is, and runs the implicit dh target.
* | dh: Support debian/rules calling make with -BJoey Hess2009-02-17
| | | | | | | | | | | | | | | | | | | | | | | | That is useful to avoid issues with phony implicit rules (see bug #509756). Apparently make treats the name of the Makfile as an automaticall set up target, so this causes it to try to build the Makefile even though it's up-to-date, and the implicit target makes it run 'dh debian/rules'. So, make that a no-op.
* | misc minor cleanups of patchJoey Hess2009-02-17
| |
* | Smart debian/rules parser for dh.Modestas Vainius2009-02-17
| | | | | | | | | | | | | | This parser is based on the output which make -p emits. It's a bit more slower due to the need to run make itself but it is not dumb. Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* | dh override targetsJoey Hess2009-02-16
| | | | | | | | | | | | | | | | | | | | * dh: debian/rules override targets can change what is run for a specific debhelper command in a sequence. * dh: Redid all the examples to use override targets, since these eliminate all annoying boilerplate and are much easier to understand than the old method. * Remove rules.simple example, there's no need to use explcit targets with dh anymore.
* | wordingJoey Hess2009-02-15
| |