summaryrefslogtreecommitdiff
path: root/dh_installinfo
AgeCommit message (Collapse)AuthorFilesLines
2019-06-18dh_installinfo: Update NOOP PROMISE to fix issue dh_missingNiels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-09-14dh_*: Add cli-options NOOP PROMISES for most helpersNiels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-06-30Restore glob error handling for documentation dh_* toolsNiels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-03-29dh_installinfo: Report installed files to dh_missingNiels Thykier1-0/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-03-29dh_installinfo: Accept --sourcedir as documentedNicolas Boulenguez1-1/+3
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-02-04dh_install{docs,examples,info,man}: Add missing compat 11 documentationNiels Thykier1-0/+4
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-09-17dh_installinfo: Merge two chmod calls into oneNiels Thykier1-2/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-08-12Accept nodoc via DEB_BUILD_OPTIONS as wellNiels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-08-06dh_install*: Accept missing files for packages not builtNiels Thykier1-3/+5
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-07-22Revert to the pre-10.6.4 behavior for dh_installdocs and the likeSven Joachim1-2/+1
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>
2017-07-22Dh_Lib: Add stub default_sourcedir functionNiels Thykier1-3/+2
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>
2017-07-12Re-instate bug compatibility to fix #867866Niels Thykier1-1/+2
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>
2017-07-07Dh_Lib: Embed tool versions into auto-generated snippetsNiels Thykier1-0/+2
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>
2017-07-03Set Emacs file variables directory-wideSven Joachim1-6/+0
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>
2017-06-29dh_installinfo: Support --sourcedir and fallback to d/tmp [c11]Niels Thykier1-1/+14
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-29dh_installinfo: Log installed info filesNiels Thykier1-2/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-29dh_installinfo: Ignore missing info-files under nodoc profileNiels Thykier1-0/+6
We could just exit out early, but we want to log the installed info files so dh_missing can see them. This will happen in a seperate commit. Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-28dh_installinfo: Use new glob_expand-enabled filearrayNiels Thykier1-1/+3
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-27dh_installinfo: Use xargs instead of doitNiels Thykier1-1/+1
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>
2016-10-02Refactor install_dir usage to avoid the "if -d " testsNiels Thykier1-3/+1
They were not needed in the first place (as "install -d" DTRT). 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-01-08Migrate some calls to use the new install_X subsMartin Koeppe1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-01-07Pass --reflink=auto to cpNiels Thykier1-1/+1
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>
2013-05-08dh_installinfo: Stop inserting dependencies for partial upgradesGuillem Jover1-2/+0
This was introduced in 2009 to support partial upgrades from lenny to squeeze, which are long time unneeded.
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.
2010-11-02Apply manual pages conventionsDavid Prévot1-5/+5
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.
2009-09-04Add FILES sections to man pages. Closes: #545041Joey Hess1-5/+8
2009-06-26dh_installinfo: No longer inserts install-info calls into maintainer scriptsJoey Hess1-34/+5
as that is now triggerized. Adds a dependency via misc:Depends to handle partial upgrades. Note that while dh_installinfo already required that info files had a INFO-DIR-SECTION, the new system also requires they have START-INFO-DIR-ENTRY and END-INFO-DIR-ENTRY for proper registration. I assume there will be some mass bug filing for any packages that do not have that. Closes: #528864
2008-04-23dh_prep: New program, does the same as dh_clean -k (which will be deprecated ↵Joey Hess1-1/+1
later).
2007-01-21r1968: * dh_fixperms: Make all files in /usr/include 644, not only .h files.joeyh1-2/+3
Closes: #404785 * Man page improvements. Closes: #406707
2006-11-07r1956: * Correct some incorrect instances of "v4 only" in docs. Closes: #381536joeyh1-25/+5
* dh_installinfo: Put the section madness to bed by not passing any section information to install-info. Current install-info parses INFO-DIR-SECTION on its own if that's not specified. Closes: #337215
2004-04-28r1682: * dh_installinfo: escape '&' characters in INFO-DIR-SECTION when ↵4.2.9joey1-0/+2
calling sed. Also support \1 etc for completeness. Closes: #246301
2003-03-03r576: * Rename debhelper.1 to debhelper.7.joey1-1/+1
* Typo, Closes: #183267
2001-11-18r496: * Man page cleanups, Closes: #119335joey1-1/+1
2001-06-08r476: * Remove dh_testversion from example rules file, Closes: #99901joey1-2/+2
2001-05-15r467: * dh_installinfo: doc enchancement, Closes: #97515joey1-0/+4
* dh_md5sums: don't fail if pwd has spaces in it (must be scraping the bottom of the bug barrel here). Closes: #97404
2001-02-09r431: pod over for the nightjoey1-3/+67
2001-02-09r420: big monsta changesjoey1-14/+15
2000-11-28r397: horribly broke everything I touched :-)joey1-1/+1
2000-05-11r350: * dh_installinfo: changed test to see if an info file is the head ↵joey1-1/+1
file to just skip files that end in -\d+.
2000-03-02r338: * Patch from Jorgen `forcer' Schaefer <forcer at mindless.com> (muchjoey1-3/+2
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.
1999-09-06r268: * dh_installinfo: failed pretty miserably if the info file's sectionjoey1-0/+1
contained '/' characters. Doesn't now.
1999-09-06r267: * dh_installinfo: use FHS info dir. I wonder how I missed that..joey1-11/+11
1999-08-17r189: Initial revisionjoey1-0/+61