Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
It is a lot faster for any package with a non-trivial amount of
manpages-
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Our current detections fail horriable on gitlab/salsa where there is a
man(1) in PATH that triggers EPERM when being run (but a -x test in
PATH does not filter it out).
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
This make debhelper work when run under nohup(1), which opens stdin
for writing. Trivial to test with:
dpkg-buildpackage [...] 0>/dev/null
(Once you know that you are looking for it).
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
This reverts commit f51eec1ec890eacf624333227505fdb38f4375db.
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
It turned out that "dh_installdocs 'foo bar'" has historically treated
the argument as a single file rather than two, and packages were
relying on it, since there is really no other way to install such a
file with dh_installdocs. Hence commit d00d7d524f8 broke them.
The situation for dh_installexamples, dh_installman and dh_installinfo
is exactly the same.
That dh_install has behaved differently in this respect is
unfortunate, but can only be fixed in a new compat level.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
This function does not do anything particularly useful at the moment,
but we hope to make it do that in the future. By including it now,
other tools can migrate to it easier if/when it becomes useful.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
It saves having man(1) consider the system collection.
Thanks: Colin Watson <cjwatson@debian.org>
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Avoid forking shells to start commands now that "doit" can do what we
need. This saves up to 10% on packages with many manpages during
recode (tested on libssl-doc).
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Previous versions of debhelper had "interesting" way of interpreting
arguments where it split them on space. This was mistakenly
"corrected" in 10.6 when debhelper started to use bsd_glob (that does
not split on spaces).
To resolve this, manully split arguments like the original code would
(effectively) have done so packages are unaffected by it.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Since commit f9999ffaa5 dh_installman would inadvertently not remove
compressed manpages after reencoding and thereby uncompressing them.
This is not usually a problem since dh_compress takes care of it
later, but if there are multiple hardlinks for the same file
dh_compress fails in this situation.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Use $main::VERSION to determine the version of the tool and embed that
into auto-generated snippets (e.g. via autoscript). This enables
lintian to extract the tool + version and display it on:
https://lintian.debian.org/tags/debhelper-autoscript-in-maintainer-scripts.html
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Fixes: f9999ffaa5995ebef7cc9c5dc1dc7efc10bb5604
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Set the local variables for Emacs in the central placed intended for
it, rather than in (currently) 95 individual files.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
It overrode explicitly defined languages (--language) but not the
"faulty" detection it was supposed to replace.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Turns out that the sub is not specific to packages, so rename it to
make it more self-descriptive (and to avoid making consumers to
believe it is more limited than it is).
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Like with dh_install, we have to log installed files for all packages
(even those not acted on). Otherwise, dh_missing will get the wrong
results for "dpkg-buildpackage -B/-A" builds where only a subset of
the packages are installed.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
They were not needed in the first place (as "install -d" DTRT).
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|