summaryrefslogtreecommitdiff
path: root/dh_installexamples
Commit message (Collapse)AuthorAge
* dh_installexamples: Explicit recommend `examples/*` over `examples`Niels Thykier2022-10-08
| | | | | Closes: #1000384 Signed-off-by: Niels Thykier <niels@thykier.net>
* Support substitution variables [c13]Niels Thykier2020-01-18
| | | | Signed-off-by: Niels Thykier <niels@thykier.net>
* dh_*: Add cli-options NOOP PROMISES for most helpersNiels Thykier2018-09-14
| | | | Signed-off-by: Niels Thykier <niels@thykier.net>
* Restore glob error handling for documentation dh_* toolsNiels Thykier2018-06-30
| | | | Signed-off-by: Niels Thykier <niels@thykier.net>
* dh_install{docs,examples,info,man}: Add missing compat 11 documentationNiels Thykier2018-02-04
| | | | Signed-off-by: Niels Thykier <niels@thykier.net>
* dh_install{docs,examples}: Validate --doc-main-package argumentNiels Thykier2017-10-03
| | | | Signed-off-by: Niels Thykier <niels@thykier.net>
* Fix bug in handling of doc dirsNiels Thykier2017-09-09
| | | | Signed-off-by: Niels Thykier <niels@thykier.net>
* c11: Auto-detect main pkg for doc pkgs (§12.3)Niels Thykier2017-08-31
| | | | Signed-off-by: Niels Thykier <niels@thykier.net>
* Accept nodoc via DEB_BUILD_OPTIONS as wellNiels Thykier2017-08-12
| | | | Signed-off-by: Niels Thykier <niels@thykier.net>
* dh_install*: Accept missing files for packages not builtNiels Thykier2017-08-06
| | | | Signed-off-by: Niels Thykier <niels@thykier.net>
* Revert to the pre-10.6.4 behavior for dh_installdocs and the likeSven Joachim2017-07-22
| | | | | | | | | | | | | | | It turned out that "dh_installdocs 'foo bar'" has historically treated the argument as a single file rather than two, and packages were relying on it, since there is really no other way to install such a file with dh_installdocs. Hence commit d00d7d524f8 broke them. The situation for dh_installexamples, dh_installman and dh_installinfo is exactly the same. That dh_install has behaved differently in this respect is unfortunate, but can only be fixed in a new compat level. Signed-off-by: Niels Thykier <niels@thykier.net>
* Dh_Lib: Add stub default_sourcedir functionNiels Thykier2017-07-22
| | | | | | | | This function does not do anything particularly useful at the moment, but we hope to make it do that in the future. By including it now, other tools can migrate to it easier if/when it becomes useful. Signed-off-by: Niels Thykier <niels@thykier.net>
* Re-instate bug compatibility to fix #867866Niels Thykier2017-07-12
| | | | | | | | | | | | Previous versions of debhelper had "interesting" way of interpreting arguments where it split them on space. This was mistakenly "corrected" in 10.6 when debhelper started to use bsd_glob (that does not split on spaces). To resolve this, manully split arguments like the original code would (effectively) have done so packages are unaffected by it. Signed-off-by: Niels Thykier <niels@thykier.net>
* dh: Support pkgfile and pkgfile-logged PROMISE hintsNiels Thykier2017-07-09
| | | | Signed-off-by: Niels Thykier <niels@thykier.net>
* Dh_Lib: Embed tool versions into auto-generated snippetsNiels Thykier2017-07-07
| | | | | | | | | | Use $main::VERSION to determine the version of the tool and embed that into auto-generated snippets (e.g. via autoscript). This enables lintian to extract the tool + version and display it on: https://lintian.debian.org/tags/debhelper-autoscript-in-maintainer-scripts.html Signed-off-by: Niels Thykier <niels@thykier.net>
* Set Emacs file variables directory-wideSven Joachim2017-07-03
| | | | | | | 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>
* dh_installexamples: Support --sourcedir and fallback to d/tmp [c11]Niels Thykier2017-06-29
| | | | Signed-off-by: Niels Thykier <niels@thykier.net>
* dh_installexamples: Log installed examplesNiels Thykier2017-06-29
| | | | Signed-off-by: Niels Thykier <niels@thykier.net>
* dh_installexamples: Permit missing manpage under nodoc profileNiels Thykier2017-06-29
|
* dh_installexamples: Use new glob_expand-enabled filearrayNiels Thykier2017-06-28
| | | | Signed-off-by: Niels Thykier <niels@thykier.net>
* Refactor install_dir usage to avoid the "if -d " testsNiels Thykier2016-10-02
| | | | | | They were not needed in the first place (as "install -d" DTRT). Signed-off-by: Niels Thykier <niels@thykier.net>
* dh_installexamples: Call pwd at most onceNiels Thykier2016-02-20
| | | | Signed-off-by: Niels Thykier <niels@thykier.net>
* dh_install*: sort file lists passed to 'cp --parents -p' for reproducibilityNiko Tyni2015-11-06
| | | | | | | The order in which the files are copied can affect directory timestamps when copying subdirectory hierarchies. Signed-off-by: Niels Thykier <niels@thykier.net>
* dh_installexamples: use find + xargs instead of find -execNiko Tyni2015-11-06
| | | | | | | | Commit 71d06996481c6187b016c3b14b7e9faaf8adc432 changed most of the find -exec invocations in dh_install* programs, but this one remains. Use xargs instead to prepare for an additional sort command in the pipeline. Signed-off-by: Niels Thykier <niels@thykier.net>
* Migrate to use warnings and use parentNiels Thykier2015-07-01
| | | | Signed-off-by: Niels Thykier <niels@thykier.net>
* Migrate some calls to use the new install_X subsMartin Koeppe2015-01-08
| | | | Signed-off-by: Niels Thykier <niels@thykier.net>
* Pass --reflink=auto to cpNiels Thykier2015-01-07
| | | | | | | This gives faster copying on BTRFS with fallback to regular copy on all other filesystems. Signed-off-by: Niels Thykier <niels@thykier.net>
* Add editor hints to the end of all perl modules and scriptsNiels Thykier2015-01-01
| | | | Signed-off-by: Niels Thykier <niels@thykier.net>
* dh: Skips running commands that it can tell do nothing.Joey Hess2013-05-05
| | | | | | | | | 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.
* Apply manual pages conventionsDavid Prévot2010-11-02
| | | | | | | | | 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.
* Man page typo. Closes: #545443Joey Hess2009-09-07
|
* Add FILES sections to man pages. Closes: #545041Joey Hess2009-09-04
|
* releasing version 6.0.2Joey Hess2008-01-12
|
* * 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
* releasing version 6.0.0Joey Hess2008-01-08
|
* Support files with spaces in exclude mode. Closes: #459426Joey Hess2008-01-07
|
* r1655: * Added udeb support, as pioneered by di-packages-build. Understandsjoey2004-02-09
| | | | | | | | | | | | | | | "XC-Package-Type: udeb" in debian/control. See debhelper(1) for details. * Dh_Lib: add and export is_udeb and udeb_filename * dh_builddeb: name udebs with proper extension * dh_gencontrol: pass -n and filename to dpkg-gencontrol * dh_installdocs, dh_makeshlibs, dh_md5sums, dh_installchangelogs, dh_installexamples, dh_installman, dh_installmanpages: skip udebs * dh_shlibdeps: skip udebs. This may be temporary. * dh_installdeb: do not process conffiles, shlibs, preinsts, postrms, or prerms for udebs. Do not substiture #DEBHELPER# tokens in postinst scripts for udebs. * dh_installdebconf: skip config script for udebs, still do templates
* r576: * Rename debhelper.1 to debhelper.7.joey2003-03-03
| | | | * Typo, Closes: #183267
* r513: * Fixed dh_installdocs and dh_installexamples to support multiple -X's.joey2002-02-28
|
* r510: * Thanks to Benjamin Drieu <benj@debian.org>, dh_installdocs -X now ↵joey2002-02-17
| | | | | | | | | | | | works. I had to modify his patch to use cp --parents, since -P spews warnings now. Also, I made it continue to use cp -a if nothing is excluded, which is both faster, and means this patch is less likely to break anything if it turns out to be buggy. Also, stylistic changes. Closes: #40649 * Implemented -X for dh_installexamples as well. * dh_clean -X substvars will also work now. Closes: #66890
* r496: * Man page cleanups, Closes: #119335joey2001-11-18
|
* r431: pod over for the nightjoey2001-02-09
|
* r420: big monsta changesjoey2001-02-09
|
* r397: horribly broke everything I touched :-)joey2000-11-28
|
* r338: * Patch from Jorgen `forcer' Schaefer <forcer at mindless.com> (muchjoey2000-03-02
| | | | | | | | | | | | | | | | | modified)to make dh_installwm use new window manager registration method, update-alternatives. Closes: #52156, #34684 (latter bug is obsolete) * Fixed $dh{flavor} to be upper-case. * Deprecated dh_installemavcsen --number; use --priority instead. Also, the option parser requires the parameter be a number now. And, dh_installwm now accepts --priority, and window manager packages should start using it. * dh_installwm now behaves like a proper debhelper command, and reads debian/<package>.wm too. This is a small behavior change; filenames specified on the command line no longer apply to all packages it acts on. I can't belive this program existed for 2 years with such a glaring problem; I guess most people don't need ot register 5 wm's in 3 sub-packages. Anyway, it can handle such things now. :-) * Moved Dh_*.pm to /usr/lib/perl5/Debian/Debhelper. *big* change.
* r266: * FHS complience. Patch from Johnie Ingram <johnie@netgod.net>.joey1999-09-06
| | | | | | | | | | | | | | | For the most part, this was a straight-forward substitution, dh_installmanpages needed a non-obvious change though. * Closes: #42489, #42587, #41732. * dh_installdocs: Adds code to postinst and prerm as specified in http://www.debian.org/Lists-Archives/debian-ctte-9908/msg00038.html, to make /usr/doc/<package> a compatability symlink to /usr/share/doc/<package>. Note that currently if something exists in /usr/doc/<package> when the postinst is run, it will silently not make the symlink. I'm considering more intellingent handing of this case. * Note that if you build a package with this version of debhelper, it will use /usr/share/man, /usr/share/doc, and /usr/share/info. You may need to modify other files in your package that reference the old locations.
* r1: Initial revisionjoey1999-08-17