Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
This reverts commit 71007f72da682dd9d7f932d81ca2ecd5d46a0e70
(plus effectively 6c946cd0bb239a4fd02e7acbcb797ecccfb0e3cb).
The policy said "X-doc => X" not "X-doc => main package", so the
current implementation was insufficient. Roll it back while we
figure out a better way to do this.
|
|
|
|
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>
|
|
They were not needed in the first place (as "install -d" DTRT).
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Closes: #836344
|
|
The change in commit 863ef397c939340e863be1e96c822934a3167852 was not
quite correct, since ensure_docdir would create the doc directory
under debian/$dh{MAINPACKAGE} rather than debian/$package in C11 mode.
Restore the previous code and fix the original problem in bug #830309
("install: cannot change permissions of
'debian/$package/usr/share/doc/$package': No such file or directory")
by only creating the directory if it is not already a symlink, as is
the case with the --link-doc option.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
If a package uses dh_installdocs' --link-doc option, install_dir could
fail with an error message from install(1), because the symlink might
be dangling. Use ensure_docdir instead which was designed precisely
for this case.
Regression introduced in commit 71007f72da682dd9d7f932d81ca2ecd5d46a0e70.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
In compat 11, use the directory of the mainpackage rather than the doc
package as recommended by Debian Policy 3.9.7.
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>
|
|
The order in which the files are copied can affect directory
timestamps when copying subdirectory hierarchies.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Thanks to Reiner Herrmann for spotting it. :)
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
It used to do maintainer scripts. However that feature is now done
via triggers and accordingly the remark is now unncessary.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Warn about the possible need for a "dir to symlink" (or "symlink to
dir") migration when using (or stopping the use of) --link-doc. Refer
people to dh_installdeb's maintscript feature for implementing said
migration.
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 gives faster copying on BTRFS with fallback to regular copy on
all other filesystems.
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 f631c4c30d17c5e537005bacfdd730dd9149cfcc.
|
|
This reverts commit 97993b514bfbcc84c213e9e5d68c1b1c3a833ce7.
|