summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-06-28dh_installdocs: Ignore doc-base files under nodocs profileNiels Thykier1-0/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-28Refactor handling of $skip_install testsNiels Thykier3-4/+15
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-28dh_installdocs: Do less under nodoc profileNiels Thykier3-6/+34
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-27Dh_Lib: Export is_build_profile_activeNiels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-27d/changelog: Add entry and bump to 10.6Niels Thykier1-1/+3
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-27Dh_Lib: Add is_build_profile_activeNiels Thykier1-0/+10
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-27Dh_Lib: Explicitly return at the end of get_buildoptionsNiels Thykier1-0/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-27dh_installinfo: Use xargs instead of doitNiels Thykier2-1/+8
At this point, it is probably more of a theorectical issue that someone wants to install a large amount of "info" files via dh_installinfo. Anyhow, now it is fixed. Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-27Dh_Lib: Work around emacs code highlightNiels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-27dh_install: Move loop invariant out of loopNiels Thykier1-6/+6
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-26Release debhelper/10.5.1 into unstableNiels Thykier1-2/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-26d/changelog: Fix typoNiels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-26Regenerate POT and PO filesNiels Thykier6-2250/+3709
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-26dh_strip: Re-indent codeNiels Thykier1-89/+89
2017-06-26dh_strip: Process packages in parallelNiels Thykier2-1/+4
Re-indent of code pending next commit... Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-26doc/PROGRAMMING: Correct doc of on_items_in_parallelNiels Thykier1-3/+3
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-26dh_builddeb: Add dbgsym packages as separate tasksNiels Thykier2-22/+36
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-26dh_install: Optimize some calls with xargsNiels Thykier2-7/+41
The following are common pattern seen in install files: """ some/path/* some/path/*.foo* """ These patterns all cause dh_install to issue one "cp" per file matched in "some/path" (the first one matching all files in the directory). For patterns with many matches, this triggers a considerable overhead by the number of fork+exec calls. This patch makes dh_install bulk "cp" calls provided that: * The matched files all end in the same destination directory. (which might not be the case for e.g. "foo/*/bar" ) * There are no "--exclude" in play (as that triggers a vastly more complicated case). Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-26xargs(): Support inserting things anywhereNiels Thykier1-5/+31
Previously, arguments could only be appended. With this change, it is possible to use the "magic" XARGS_INSERT_PARAMS_HERE value to choose where arguments should be inserted. Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-26dh_install: Refactor --autodest handlingNiels Thykier1-2/+5
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-26dh_install: Remove duplicate $Niels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-26dh_install: Throw away some redundant variablesNiels Thykier1-2/+0
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-26dh_install: Refactor handling of autodestNiels Thykier1-16/+11
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-26dh_install: Push some code out of a loopNiels Thykier1-5/+8
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-26dh_installman: Split manpages between processesNiels Thykier2-20/+45
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-26Dh_Lib: Rename sub to on_items_in_parallelNiels Thykier3-8/+17
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>
2017-06-26dh_dhlibdeps: Use a strict whitelist debug dirs to skipNiels Thykier2-1/+6
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-26Revert "dh_shlibdeps: Avoid calling file(1) on debug symbols"Niels Thykier1-1/+1
This reverts commit 609609f43f5f42e3e2ff24a3a84f220e7f5bc44a.
2017-06-26Avoid some unnecessary stat callsNiels Thykier4-5/+8
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-26dh_installman: Use rename_path instead of doitNiels Thykier2-1/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-26make_symlink: Avoid unnecessary stat callsNiels Thykier2-7/+15
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-26d/changelog: Describe the last two commitsNiels Thykier1-0/+11
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-26Avoid fork+exec for rm -f and ln -s in non-deprecated toolsNiels Thykier10-19/+24
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-26Dh_Lib: Add rm_files and make_symlink_raw_targetNiels Thykier1-0/+25
Without fork+exec and manual error checking, they can remove files (ignoring files that don't exist) and create a raw symlink. Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-25Dh_Lib: Fail if open or close failsNiels Thykier2-2/+4
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-25Dh_Lib: Fix rounding error causing off-by-one threadsNiels Thykier2-1/+9
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-25Release debhelper/10.5 into unstableNiels Thykier1-2/+4
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-25d/changelog: Fix typoes spotted by lintianNiels Thykier1-5/+5
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-25debhelper: Wordning nitsNiels Thykier1-2/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-25dh_auto_install: In c11, skip creating unrelated directoriesNiels Thykier3-2/+17
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-25dh_md5sums: Re-indent codeNiels Thykier1-46/+45
2017-06-25dh_md5sums: Process packages in parallelNiels Thykier2-1/+5
Re-indent of code pending next commit. Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-25Dh_Lib: inhibit log in child processesNiels Thykier1-0/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-25Dh_Lib: Use File::Path instead of "install -d"Niels Thykier2-4/+29
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-25dh_installcatalogs: Check the return code of closeNiels Thykier2-3/+5
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-25dh_installman: In c11, detect manpage language from pathNiels Thykier3-3/+14
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-25dh_installcatalogs: Use explicit await triggersNiels Thykier2-1/+3
Short term solution to avoid lintian warnings from debhelper inserted glue. Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-24dh_isntallwm.1: Correct documentationNiels Thykier2-2/+6
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-24dh_installchangelogs: Don't use a directory as a changelogNiels Thykier2-1/+4
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-24Dh_Lib: Ignore empty dpkg-architecture ENV variablesNiels Thykier2-2/+7
dpkg-architecture ignores them and instead computes the expected value (as if the variable had not been set in the first place). Signed-off-by: Niels Thykier <niels@thykier.net>