summaryrefslogtreecommitdiff
path: root/dh
Commit message (Collapse)AuthorAge
* 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
| |
* | dh: Fix typo. Closes: #509754Joey Hess2008-12-25
| |
* | typoJoey Hess2008-10-31
| |
* | Move many command-specific options to only be accepted by the command that ↵Joey Hess2008-10-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | uses them. Affected options are: -x, -r, -R, -l, -L, -m, --include-conffiles, --no-restart-on-upgrade, --no-start, --restart-after-upgrade, --init-script, --filename, --flavor, --autodest, --libpackage, --add-udeb, --dpkg-shlibdeps-params, --dpkg-gencontrol-params, --update-rcd-params, --major, --remove-d, --dirs-only, --keep-debug, --version-info, --list-missing, --fail-missing, --language, --until, --after, --before, --remaining, --with * If any third-party debhelper commands use any of the above options, they will be broken, and need to be changed to pass options to init(). * To avoid breaking rules files that pass options to commands that do not use them, debhelper will now only warn if it encounters an unknown option. This will be converted back to an error later.
* | dh: Fix typo in example. Closes: #500836Joey Hess2008-10-01
|/
* dh: Avoid passing --with on to subcommands. Closes: #490886Joey Hess2008-07-14
|
* Load python-support sequence file first, to allow ones loaded later to ↵Joey Hess2008-07-05
| | | | disable it.
* Add stamp files to example rules targets. Closes: #486327Joey Hess2008-06-15
|