summaryrefslogtreecommitdiff
path: root/dh_install
Commit message (Collapse)AuthorAge
* dh_install: Fix installation of entire top-level directory from debian/tmp. ↵Joey Hess2009-07-02
| | | | | | | | | Closes: #535367 This was broken by the slash removal fix in e45749314e98a3304b1f845884ac50327c29cc10. Of course those unnecessary slashes were actually necessary for dirname to DTRT.
* dh_install: Fix use of debian/tmp in v7 mode; a bug caused it to put files ↵Joey Hess2009-06-30
| | | | | | | 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.)
* dh_install: Handle correctly the case where a glob expands to a dangling ↵Joey Hess2009-06-30
| | | | symlink, installing the dangling link as requested. Closes: #534565
* remove some dh_install stuffJoey Hess2009-06-28
|
* clarify wording re source filesJoey Hess2009-06-12
|
* Fix some docs that refered to --srcdir rather than --sourcedir. Closes: #504742Joey Hess2008-11-06
|
* dh_install: Order options alphabeticallyJari Aalto2008-11-03
| | | | Signed-off-by: Jari Aalto <jari.aalto@cante.net>
* Move many command-specific options to only be accepted by the command that ↵Joey Hess2008-10-21
| | | | | | | | | | | | | | | | | | 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.
* Correct docs about dh_install and debian/tmp in v7 modeJoey Hess2008-06-25
| | | | | | | * 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.
* Typo fix. Closes: #486464Joey Hess2008-06-16
|
* New v7 mode, which only has one change from v6, and is the new recommended ↵Joey Hess2008-04-23
| | | | | | | | | | | 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.
* * dh_install{,docs,examples}: Avoid infinite recursion when told toJoey Hess2008-01-11
| | | | | | 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.
* * dh_installdocs/examples: Don't unnecessarily use the exclude code path.Joey Hess2008-01-11
| | | | | | * 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
* r1974: correctjoeyh2007-03-07
|
* r1805: releasing version 5.0.0joey2005-11-02
|
* r1774: * dh_install: in v5 mode, error out if there are wildcards in the filejoey2005-07-19
| | | | | list and the wildcards expand to nothing. Done only for v5 as this is a behavior change.
* r1767: * Fix typo in dh_install example. Closes: #314964joey2005-06-22
|
* r1638: * dh_install: add missing parens to the $installed regexp. Closes: ↵joey2004-01-16
| | | | | | #227963 * dh_install: improve wording of --list-missing messages
* r1632: * Clarify dh_install's autodest behavior with wildcards. Closes: ↵joey2003-12-29
| | | | #224707
* r1611: * dh_install: add --fail-missing option. Closes: #120026joey2003-10-13
| | | | * Fix mispelling in prerm-sgmlcatalog. Closes: #215189
* r1576: * Typo, Closes: #203907joey2003-08-07
| | | | | * dh_python: clan compiled files on downgrade, upgrade, not only removal. Closes: #204286
* r1088: * dh_install: Add LIMITATIONS section and other changes to clarifyjoey2003-07-31
| | | | renaming. Closes: #203548
* r590: * dh_install: recalculate automatic $dest eash time through the ↵joey2003-06-16
| | | | | | glob loop. It might change if there are multiple wildcards Closes: #196344
* r576: * Rename debhelper.1 to debhelper.7.joey2003-03-03
| | | | * Typo, Closes: #183267
* r569: * Fix dh_install to install empty directories even if it is ↵joey2002-12-12
| | | | | | excluding some files from installation.
* r563: * dh_install: Support autodest with non-debian/tmp sourcedirs.joey2002-11-15
| | | | | | | | Closes: #169138 * dh_install: Support implicit "." sourcedir and --list-missing. (Also supports ./foo file specs and --list-missing.) Closes: #168751 * dh_md5sums: Don't glob. Closes: #169135
* r562: * Make dh_install --list-missing honor -X excludes. Closes: #168739joey2002-11-14
| | | | | | | * As a special case, if --sourcedir is not set (so is "."), make --list-missing look only at what is in debian/tmp. This is gross, but people have come to depend on that behavior, and that combination has no other sane meaning. Closes: #168751
* r561: * typo in dh_shlibdeps(1), Closes: #167421joey2002-11-12
| | | | * dh_movefiles: make --list-missing respect --sourcedir. Closes: #168441
* r560: * typo in dh_shlibdeps(1), Closes: #167421joey2002-11-11
| | | | * dh_movefiles: make --list-missing respect --sourcedir. Closes: #168441
* r559: * Added note to dh_installdebconf(1) about postinst sourcing debconfjoey2002-10-28
| | | | | confmodule. (Cf #106070) * Added an example to dh_install(1). Closes: #166402
* r557: * dh_installinit: added --no-start for rcS type scripts. Closes: ↵joey2002-10-11
| | | | #136502
* r541: * Typo, Closes: #155323joey2002-08-03
|
* r538: * Make dh_installchangelogs install debian/NEWS files as well, asjoey2002-07-19
| | | | | | | | NEWS.Debian. Make dh_compress always compress them. The idea is to make these files be in a machine parsable form, like the debian changelog, but only put newsworthy info into them. Automated tools can then display new news on upgrade. It is hoped that if this catches on it will reduce the abuse of debconf notes. See discussion on debian-devel for details.
* r537: * In dh_install, don't limit to -type f when doing the find due to -X.joey2002-07-06
| | | | This makes it properly install syml8inks, cf my rpm bug.
* r527: * dh_install: glob relative to --sourcedir. Closes: #147908joey2002-05-24
| | | | * Documented what globbing is allowed.
* r522: * Set DH_ALWAYS_EXCLUDE=CVS and debhelper will exclude CVS directoriesjoey2002-05-19
| | | | | | | | | | | from processing by any command that takes a -X option, and dh_builddeb will also go in and rm -rf any that still sneak into the build tree. * dh_install: A patch from Eric Dorland <eric@debian.org> adds support for --sourcedir, which allows debian/package.files files to be moved over to debian/package.install, and just work. Closes: #146847 * dh_movefiles: don't do file tests in no-act mode. Closes: #144573 * dh_installdebconf: pass --drop-old-templates to debconf-mergetemplate. Means debhelper has to depend on debconf-utils 1.1.1.
* r520: * dh_install: delay globbing until after destintations have been found.joey2002-04-17
| | | | Closes: #143234
* r518: * dh_movefiles has long been a sore point in debhelper. Inheritedjoey2002-04-12
from debstd, its interface and implementation suck, and I have maintained it while never really deigning to use it. Now there is a remplacment: dh_install, which ... - copies files, doesn't move them. Closes: #75360, #82649 - doesn't have that whole annoying debian/package.files vs. debian/files mess, as it uses debian/install. - supports copying empty subdirs. Closes: #133037 - doesn't use tar, thus no error reproting problems. Closes: #112538 - files are listed relative to the pwd, debian/tmp need not be used at all, so no globbing issues. Closes: #100404 - supports -X. Closes: #116902 - the whole concept of moving files out of a directory is gone, so this bug doesn't really apply. Closes: #120026 - This is exactly what Bill Allombert asked for in #117383, even though I designed it seemingly independantly. Thank you Bill! Closes: #117383 * Made debhelper's debian/rules a lot simpler by means of the above. * Updated example rules file to use dh_install. Also some reordering and other minor changes. * dh_movefiles is lightly deprecated, and when you run into its bugs and bad design, you are incouraged to just use dh_install instead. * dh_fixperms: in v4 only, make all files in bin/ dirs +x. Closes: #119039 * dh_fixperms: in v4 only, make all files in etc/init.d executable (of course there's -X ..) * dh_link: in v4 only, finds existing, non-policy-conformant symlinks and corrects them. This has the side effect of making dh_link idempotent. * Added a -h/--help option. This seems very obvious, but it never occured to me before.. * use v4 for building debhelper itself * v4 mode is done, you may now use it without fear of it changing. (This idea of this upload is to get v4 into woody so people won't run into many issues backporting from sarge to woody later on. Packages targeted for woody should continue to use whatever compatability level they are using.)