summaryrefslogtreecommitdiff
path: root/dh
AgeCommit message (Collapse)AuthorFilesLines
2009-05-04dh: Add --without to allow disabling sequence addons (particularly useful to ↵Joey Hess1-5/+14
disable the default python-support addon).
2009-04-20releasing version 7.2.87.2.8Joey Hess1-2/+0
2009-04-20Move dh sequence documentation to PROGRAMMING.Joey Hess1-22/+2
2009-04-10dh_desktop: Now a deprecated no-op, since desktop-file-utils uses triggers. ↵Joey Hess1-1/+0
Closes: #523474 (also Closes: #521960, #407701 as no longer applicable)
2009-03-23export write_logJoey Hess1-6/+2
Avoids the ugly thunk in dh
2009-03-23Add a global --remaining-packages option.Modestas Vainius1-16/+1
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>
2009-03-20pass -N into DH_INTERNAL_OPTIONSJoey Hess1-5/+4
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.
2009-03-06Add dh_bugfiles - a helper for reportbug filesModestas Vainius1-0/+1
* 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>
2009-03-06dh: Override LC_ALL, not LANG. Closes: #517617Joey Hess1-1/+1
2009-02-28Merge branch 'dh_overrides'7.2.1Joey Hess1-1/+1
Conflicts: debian/changelog
2009-02-28dh: Fix make parsing to not be broken by locale settings. Closes: #517617Joey Hess1-1/+1
2009-02-28Merge branch 'dh_overrides'Joey Hess1-2/+2
Conflicts: debian/changelog
2009-02-28dh: Man page typo. Closes: #517549, #517550Joey Hess1-1/+1
2009-02-28dh: Man page typo. Closes: #517549Joey Hess1-1/+1
2009-02-27remove -B from examples for nowJoey Hess1-5/+5
There is some concern that passing -B to make may violate debian policy. <eyeroll> (cherry picked from commit 09090c86ea099008990bc5a9a14e1ac35bb1e584)
2009-02-27use Dh_Lib write_logJoey Hess1-10/+4
(cherry picked from commit 9d700975929417fe72bf46271c694ccb09d1c905)
2009-02-27use -Bf in all examplesJoey Hess1-14/+5
(cherry picked from commit 8cdac50db64b2f2d6aacdcfc4683fdcf79cee629)
2009-02-27can use a hyphen hereJoey Hess1-1/+1
(cherry picked from commit 057cdfd0ff9f4bc6f7c07cf4968a2ef52a59d0c0)
2009-02-27document how to use python-centralJoey Hess1-0/+7
(cherry picked from commit dc45c6f8c748ed57527d1aeb286f0db571308ec2)
2009-02-27make dh override_dh_* a no-opJoey Hess1-1/+12
This happens if the override target is completly empty. Make sees it is, and runs the implicit dh target. (cherry picked from commit 86fbd6038ee5b7222efa774751fcceedeffedfc2)
2009-02-27dh: Support debian/rules calling make with -BJoey Hess1-2/+6
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
2009-02-27misc minor cleanups of patchJoey Hess1-7/+10
(cherry picked from commit ae4994f07656deb47ffc55b8ebd4668c158b9333)
2009-02-27Smart debian/rules parser for dh.Modestas Vainius1-6/+22
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)
2009-02-27dh override targetsJoey Hess1-85/+99
* 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
2009-02-27wordingJoey Hess1-1/+1
(cherry picked from commit 9e9f49c03fe968effe2ade343d8665386bc8e4c2)
2009-02-19remove -B from examples for nowJoey Hess1-5/+5
There is some concern that passing -B to make may violate debian policy. <eyeroll>
2009-02-17use Dh_Lib write_logJoey Hess1-10/+4
2009-02-17use -Bf in all examplesJoey Hess1-14/+5
2009-02-17can use a hyphen hereJoey Hess1-1/+1
2009-02-17document how to use python-centralJoey Hess1-0/+7
2009-02-17make dh override_dh_* a no-opJoey Hess1-1/+12
This happens if the override target is completly empty. Make sees it is, and runs the implicit dh target.
2009-02-17dh: Support debian/rules calling make with -BJoey Hess1-1/+5
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.
2009-02-17misc minor cleanups of patchJoey Hess1-7/+10
2009-02-17Smart debian/rules parser for dh.Modestas Vainius1-6/+22
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>
2009-02-16dh override targetsJoey Hess1-86/+99
* 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.
2009-02-15wordingJoey Hess1-1/+1
2008-12-25dh: Fix typo. Closes: #509754Joey Hess1-1/+1
2008-10-31typoJoey Hess1-1/+1
2008-10-21Move many command-specific options to only be accepted by the command that ↵Joey Hess1-1/+10
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.
2008-10-01dh: Fix typo in example. Closes: #500836Joey Hess1-0/+1
2008-07-14dh: Avoid passing --with on to subcommands. Closes: #490886Joey Hess1-2/+2
2008-07-05Load python-support sequence file first, to allow ones loaded later to ↵Joey Hess1-1/+1
disable it.
2008-06-15Add stamp files to example rules targets. Closes: #486327Joey Hess1-6/+17
2008-06-08dh: Man page fix. Closes: #485116Joey Hess1-1/+1
2008-05-19dh: Add remove_command to the sequence interface.Joey Hess1-0/+11
2008-05-08dh: Typo fixes. Closes: #480200Joey Hess1-2/+2
2008-05-08dh: fix POS error. Closes: #480191Joey Hess1-0/+2
2008-05-04dh addon interface7.0.8Joey Hess1-13/+64
* dh: Add an interface that third-party packages providing debhelper commands can use to insert them into a command sequence. (See dh(1), "SEQUENCE ADDONS".) * dh: --with=foo can be used to include such third-party commands. So, for example, --with=cli could add the dh_cli* commands from cli-common. * Moved python-support special case out of dh and into a python-support sequence addon. --with=python-support is enabled by default to avoid breaking backwards compatability.
2008-04-25dh: Fix man page typos. Closes: #477933Joey Hess1-2/+2
2008-04-24typoJoey Hess1-1/+1