Age | Commit message (Collapse) | Author | Files | Lines |
|
Several of the build systems consists of a configure step that
generates a buildscript for another build tool. Notable examples
being "cmake" and "meson", which even supports multiple backend tools.
This change makes it natively possible for debhelper to support such
build systems with multiple backends.
Note that only build systems with multiple backends have been
rewritten.
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 is not a super name, but "optimize" implies that dh will work if
you skip the call. By renaming it to unpack we avoid that implication.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Depends on e6870ceafb9d51800de86a7106cdfb4ce9c9dad8
Closes: Debian#885998, #885998
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
This is part 1 of 2 for solving Debian#814285 and Debian#885998
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
This is part of 2 of the dh sequence rewrite. Part 1
is cb2caa7f67837294b0681d881f52dd23df487f33.
This change ensures that dh no longer attempts to run a target that is
already marked as complete (e.g. via the stamp file).
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Rewrite the way we compute the sequences to ensure that:
1) Rules target remain opaque (particularly "subtargets" are now
also opaque).
2) Opaque targets are run first, so they can run their subtargets
before dh runs a command that depends on it.
This is the first half of fixing Debian#880840.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Closes: Debian#884556
Closes: nthykier/debhelper#1
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>
|
|
matching files
Closes: #870768
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
The dh_installsystemd is required to create directories it uses by
itself, so there is not point in having the test create them 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>
|
|
These are based heavily on the tests written by Felipe Sateler for
dh_installsystemd.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Move Debian/ to lib subdirectory to support building on
non-case-sensitive filesystems.
|
|
This reverts commit 18a301de0e6baf81d110d1b07d71d005a6ba7ee7.
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
autopkgtest-pkg-perl's smoke test fails all over the place because
debhelper's testsuite has many assumptions that it is run from the source
tree, while autopkgtest-pkg-perl's smoke test copies (by default) the t/
directory to a new empty directory and runs the tests from there.
Add debian/tests/pkg-perl/smoke-files to copy more files from the source
tree which are used in tests.
Add debian/tests/pkg-perl/smoke-skip to skip t/size.t which fails when run
under autopkgtest-pkg-perl because it tests all /usr/bin/dh_* helpers, and
at least dh_autotools-dev_updateconfig is too large.
Change t/buildsystems/03-bs-auto-buildable.t,
t/buildsystems/buildsystem_tests.t, t/override_target.t, t/size.t, and
t/syntax/syntax-progs.t to look for scripts and modules not in the source
tree but in the installed directories when run under autopkgtest.
With these changes, the test suite passes both during build and during
autokpkgtest.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
The "install" command they emulate did as well.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Fix a test that failed when "prove" was called without the "t" dir
explicitly. I.e.
prove -lr t # works
prove -lr # failed
Now both works.
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>
|
|
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>
|