summaryrefslogtreecommitdiff
path: root/dh_install
AgeCommit message (Collapse)AuthorFilesLines
2016-07-31dh_install: Make d/tmp prefix optional in d/not-installedSven Joachim1-1/+5
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-07-31dh_install: Clarify that not-installed is not related to --excludeNiels Thykier1-2/+4
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-06-15Remove support for compat 4Niels Thykier1-8/+5
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-03-21dh_install: Fix regression with non-existing filesNiels Thykier1-2/+19
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-03-10dh_install: Improve not-installed documentationNiels Thykier1-3/+3
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-01-05dh_install: Fail late when there were non-existing filesDmitry Shachnev1-3/+13
Print warnings for each glob that did not match anything, and fail after processing all packages if there were any missing files. Closes: #488346 Signed-off-by: Niels Thykier <niels@thykier.net>
2016-01-02dh_install: Anchor the d/tmp regexNiels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-01-02dh_install: Avoid d/tmp/d/tmp/<path> on failureNiels Thykier1-1/+2
If given a glob that starts with d/tmp, which fails to match, then skip the "d/tmp"-fallback. Otherwise we will end up with a duplicated "d/tmp/d/tmp/<path>" and people will think debhelper is broken. Signed-off-by: Niels Thykier <niels@thykier.net>
2015-11-06dh_install*: sort file lists passed to 'cp --parents -p' for reproducibilityNiko Tyni1-2/+4
The order in which the files are copied can affect directory timestamps when copying subdirectory hierarchies. Signed-off-by: Niels Thykier <niels@thykier.net>
2015-09-01dh_install: Read d/not-installed with --list-missingNiels Thykier1-0/+13
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-07-01Migrate to use warnings and use parentNiels Thykier1-1/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-04-30Fix the wording in the dh_install reference to dh_exec.Peter Pentchev1-3/+3
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-04-29dh_install: Document how to use dh-exec to rename filesNiels Thykier1-0/+19
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-01-08Migrate some calls to use the new install_X subsMartin Koeppe1-2/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-01-07Pass --reflink=auto to cpNiels Thykier1-3/+5
This gives faster copying on BTRFS with fallback to regular copy on all other filesystems. Signed-off-by: Niels Thykier <niels@thykier.net>
2015-01-01Add editor hints to the end of all perl modules and scriptsNiels Thykier1-0/+6
Signed-off-by: Niels Thykier <niels@thykier.net>
2014-07-19Typo: Closes: #755237Joey Hess1-1/+1
2013-08-15dh_install, dh_installdocs, dh_clean: Fix uses of find -exec which cause it ↵Joey Hess1-2/+2
to ignore exit status of the commands run.
2013-05-05dh: Skips running commands that it can tell do nothing.Joey Hess1-0/+2
This is determined by the presence of special PROMISE directives within commands that provide a high-level description of the command. Note that when dh is passed additional debhelper options, it cannot tell if these change the behavior of commands, and so it stops skipping any commands.
2012-05-08dh_install: Reorder documentation for clarity. Closes: #672109Joey Hess1-5/+5
2012-02-12dh_install: Man page clarification. Closes: #659635Joey Hess1-2/+2
2011-12-12remove exampleJoey Hess1-21/+0
this example feels antique
2011-12-08clarifyJoey Hess1-1/+1
2011-07-04Typo fixes. Closes: #632662Joey Hess1-1/+0
2010-11-02Apply manual pages conventionsDavid Prévot1-33/+34
As advised in man(1), always use: B<bold text> type exactly as shown. I<italic text> replace with appropriate argument. s/debian/Debian/ if needed. s/ / / also. s/perl/Perl/ s/python/Python/ and s/emacs/Emacs/ too.
2010-02-21dh_install: Now --list-missing and --fail-missing are useful even when not ↵Joey Hess1-13/+18
all packages are acted on (due to architecture limits or flags). Closes: #570373
2009-09-04Add FILES sections to man pages. Closes: #545041Joey Hess1-9/+16
2009-08-11remove out of place commentJoey Hess1-1/+0
2009-07-15Merge branch 'master' into buildsystems7.3.4Joey Hess1-2/+2
Conflicts: debian/changelog
2009-07-15dh_install: Add test suite covering the last 5 bugs.7.2.24Joey Hess1-1/+0
2009-07-15dh_install: Fix support for the case where debian/tmp is explicitly ↵Joey Hess1-2/+3
specified in filename paths despite being searched by default. Closes: #537140
2009-07-14Merge branch 'master' into buildsystemsJoey Hess1-1/+2
Conflicts: debian/changelog
2009-07-14dh_install: Fix support for the case where --sourcedir=debian/tmp/foo is ↵Joey Hess1-1/+2
used. Perl was not being greedy enough and the 'foo' was not stripped from the destination directory in this unusual case. Closes: #537017
2009-07-02Merge branch 'master' into buildsystemsJoey Hess1-1/+1
Conflicts: debian/changelog
2009-07-02dh_install: Fix installation of entire top-level directory from debian/tmp. ↵Joey Hess1-1/+1
Closes: #535367 This was broken by the slash removal fix in e45749314e98a3304b1f845884ac50327c29cc10. Of course those unnecessary slashes were actually necessary for dirname to DTRT.
2009-06-30Merge branch 'master' into buildsystemsJoey Hess1-7/+3
Conflicts: debian/changelog
2009-06-30dh_install: Fix use of debian/tmp in v7 mode; a bug caused it to put files ↵Joey Hess1-6/+2
inside a debian/tmp directory in the package build directory, now that prefix is stripped. (See #534565) (This also includes a fix to avoid doubled slashes in paths passed to commands.)
2009-06-30dh_install: Handle correctly the case where a glob expands to a dangling ↵Joey Hess1-1/+1
symlink, installing the dangling link as requested. Closes: #534565
2009-06-28clean up --sourcedir/--sourcedirectory conflictJoey Hess1-27/+31
* Move two move command-specific options to only be accepted by the commands that use them. The options are: --sourcedir, --destdir * If any third-party debhelper commands use either of the above options, they will be broken, and need to be changed to pass options to init(). This was done because of a conflict with the --sourcedirectory options used by dh_auto_*. I originally wanted to make dh_auto_* and dh_install both use --sourcedir, but that didn't work out.
2009-06-28remove some dh_install stuffJoey Hess1-6/+0
2009-06-12clarify wording re source filesJoey Hess1-2/+3
2008-11-06Fix some docs that refered to --srcdir rather than --sourcedir. Closes: #504742Joey Hess1-1/+1
2008-11-03dh_install: Order options alphabeticallyJari Aalto1-10/+10
Signed-off-by: Jari Aalto <jari.aalto@cante.net>
2008-10-21Move many command-specific options to only be accepted by the command that ↵Joey Hess1-1/+5
uses them. Affected options are: -x, -r, -R, -l, -L, -m, --include-conffiles, --no-restart-on-upgrade, --no-start, --restart-after-upgrade, --init-script, --filename, --flavor, --autodest, --libpackage, --add-udeb, --dpkg-shlibdeps-params, --dpkg-gencontrol-params, --update-rcd-params, --major, --remove-d, --dirs-only, --keep-debug, --version-info, --list-missing, --fail-missing, --language, --until, --after, --before, --remaining, --with * If any third-party debhelper commands use any of the above options, they will be broken, and need to be changed to pass options to init(). * To avoid breaking rules files that pass options to commands that do not use them, debhelper will now only warn if it encounters an unknown option. This will be converted back to an error later.
2008-06-25Correct docs about dh_install and debian/tmp in v7 modeJoey Hess1-3/+3
* Correct docs about dh_install and debian/tmp in v7 mode. It first looks in the current directory, or whatever is configured with --srcdir. Then it always falls back to looking in debian/tmp. * Medium urgency to get this doc fix into testing.
2008-06-16Typo fix. Closes: #486464Joey Hess1-1/+1
2008-04-23New v7 mode, which only has one change from v6, and is the new recommended ↵Joey Hess1-2/+19
default. * New v7 mode, which only has one change from v6, and is the new recommended default. * dh_install: if --sourcedir is not specified, first look for files in debian/tmp, and then will look in the current directory. This allows dh_install to interoperate with dh_auto_install without needing any special parameters.
2008-01-11* dh_install{,docs,examples}: Avoid infinite recursion when told toJoey Hess1-5/+4
install a directory ending with "/." (slashdot effect?) when exclusion is enabled. Emulate the behavior of cp in this case. Closes: #253234 * dh_install: Fix #459426 here too.
2008-01-11* dh_installdocs/examples: Don't unnecessarily use the exclude code path.Joey Hess1-1/+2
* Avoid infiinite recursion when told to install a directory ending with "/." (slashdot effect?). Indeed, arbitrarily complex paths can be used now, although there's really no point in using them. Closes: #253234
2007-03-07r1974: correctjoeyh1-1/+1