summaryrefslogtreecommitdiff
path: root/dh_install
AgeCommit message (Collapse)AuthorFilesLines
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
2005-11-02r1805: releasing version 5.0.05.0.0joey1-1/+1
2005-07-19r1774: * dh_install: in v5 mode, error out if there are wildcards in the filejoey1-1/+6
list and the wildcards expand to nothing. Done only for v5 as this is a behavior change.
2005-06-22r1767: * Fix typo in dh_install example. Closes: #314964joey1-1/+1
2004-01-16r1638: * dh_install: add missing parens to the $installed regexp. Closes: ↵version_4.1.85joey1-3/+7
#227963 * dh_install: improve wording of --list-missing messages
2003-12-29r1632: * Clarify dh_install's autodest behavior with wildcards. Closes: ↵version_4.1.83joey1-1/+2
#224707
2003-10-13r1611: * dh_install: add --fail-missing option. Closes: #120026version_4.1.75joey1-4/+11
* Fix mispelling in prerm-sgmlcatalog. Closes: #215189
2003-08-07r1576: * Typo, Closes: #203907version_4.1.58joey1-1/+1
* dh_python: clan compiled files on downgrade, upgrade, not only removal. Closes: #204286
2003-07-31r1088: * dh_install: Add LIMITATIONS section and other changes to clarifyversion_4.1.57joey1-5/+11
renaming. Closes: #203548
2003-06-16r590: * dh_install: recalculate automatic $dest eash time through the ↵joey1-0/+6
glob loop. It might change if there are multiple wildcards Closes: #196344
2003-03-03r576: * Rename debhelper.1 to debhelper.7.joey1-1/+1
* Typo, Closes: #183267
2002-12-12r569: * Fix dh_install to install empty directories even if it is ↵joey1-3/+6
excluding some files from installation.
2002-11-15r563: * dh_install: Support autodest with non-debian/tmp sourcedirs.joey1-6/+11
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
2002-11-14r562: * Make dh_install --list-missing honor -X excludes. Closes: #168739joey1-2/+6
* 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
2002-11-12r561: * typo in dh_shlibdeps(1), Closes: #167421joey1-1/+1
* dh_movefiles: make --list-missing respect --sourcedir. Closes: #168441
2002-11-11r560: * typo in dh_shlibdeps(1), Closes: #167421joey1-9/+11
* dh_movefiles: make --list-missing respect --sourcedir. Closes: #168441
2002-10-28r559: * Added note to dh_installdebconf(1) about postinst sourcing debconfjoey1-4/+24
confmodule. (Cf #106070) * Added an example to dh_install(1). Closes: #166402
2002-10-11r557: * dh_installinit: added --no-start for rcS type scripts. Closes: ↵joey1-1/+1
#136502
2002-08-03r541: * Typo, Closes: #155323joey1-1/+1
2002-07-19r538: * Make dh_installchangelogs install debian/NEWS files as well, asjoey1-2/+39
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.
2002-07-06r537: * In dh_install, don't limit to -type f when doing the find due to -X.joey1-2/+2
This makes it properly install syml8inks, cf my rpm bug.
2002-05-24r527: * dh_install: glob relative to --sourcedir. Closes: #147908joey1-5/+3
* Documented what globbing is allowed.
2002-05-19r522: * Set DH_ALWAYS_EXCLUDE=CVS and debhelper will exclude CVS directoriesjoey1-0/+17
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.
2002-04-17r520: * dh_install: delay globbing until after destintations have been found.joey1-3/+3
Closes: #143234
2002-04-12r518: * dh_movefiles has long been a sore point in debhelper. Inheritedjoey1-0/+146
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.)