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>
|
|
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>
|
|
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>
|
|
|
|
This commit splits dh_install’s --list-missing and --fail-missing
functionality into the separate helper dh_missing.
To make this work, dh_install logs its source patterns and dh_missing
reads these patterns, treating them as installed. This allows us to
address #415396, i.e. recognize files installed by other helpers (e.g.
dh_installman) as 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>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Not all auto-selectable third-party build systems can handle being
loaded in the conditions of the debhelper test suite. Also, it seems
prudent for the tests to work independently of the build environment
having extra build systems installed.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
This is a small test suite for dh_installdocs, motivated by the problems
found in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=830309. It
catches both the bug introduced in commit 71007f72da682dd9d7f932d81ca
and the regression caused by commit 863ef397c939340e863be1e96c822934a.
The tests verify that the correct /usr/share/doc symlinks and
directories are set up with and without the --link-doc option, in both
compat level 9 and 11.
Since dh_installdocs runs chown(1), the tests are skipped if run by an
ordinary user and fakeroot is unavailable.
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>
|
|
When the build system is autoconf, assume that one also uses automake,
and pass VERBOSE=1 to make check too. Without VERBOSE=1, newer
automake-generated makefiles will not display the actual test errors,
but store them in a file. This makes build logs considerably less useful
when it comes to discovering test failures.
With VERBOSE=1 set, test failures are displayed. It should have no ill
effects when used with a non-automake makefile + autoconf combination.
The test suite was updated to reflect the changes, and new tests were
added to verify the new functionality.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Fix dh_compress to accept file names on the command line that it would
otherwise compress anyway, by removing duplicates.
Also allow dh_compress to accept absolute paths, by stripping the
leading slashes.
Add tests for the desired behavior in t/dh_compress.t .
Fix an undefined warning in dh_compress that is sometimes triggered.
Add a . -> lib symlink so that prove -vwlr t works.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
At worst it leads to removal of arbitrary empty lines to obey the line
limit at the cost of readability.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
If DH_QUIET is set, give configure a --enable-silent-rules.
If it is not set, always give --disable-silent-rules (Closing #551463
for good).
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
This reverts commit 93d8ba917f5bcb972cc1c791d4ba892277554fb3.
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
(Thanks, Luca Falavigna)
|
|
The shell-quoted sed code passed as parameter 4 is fragile (see Bug#665296).
Make it possible to pass a sub that operates on each line via $_ instead.
Also add a basic unit test for Dh_Lib, for now just with tests for autoscript.
|
|
Can this test be written w/o using --after?
|
|
Assume that the package can be cleaned (i.e. the build directory can be
removed) as long as it is built out-of-source tree and can be configured. This
is useful for derivative buildsystems which generate Makefiles.
|
|
|
|
dh_installdeb: Support debian/package.maintscript files, which can contain
dpkg-maintscript-helper commands. This can be used to automate moving or
removing conffiles, or anything added to dpkg-maintscript-helper later on.
Closes: #574443 (Thanks, Colin Watson)
|