Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
Now iterates over common suffixes and common base names separately.
Makes the code easier readable and easier to extent.
Looks for "history.md" now, too. (Was a so far ignored suffix/base
name combination.)
|
|
Several projects that are hosted on Github use markdown files (.md) as their
README and changelogs.
CHANGES.md is used by a few projects, and it would be nice to have this file
automatically picked up as an upstream changelog.
Closes: #779471
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
mode. Closes: #726930
|
|
filenames.
|
|
changelog. Closes: #711131
|
|
plain text version can be provided as a second parameter, or it will generate a file with a pointer to the html changelog if not. html2text's reign of terror has ended. Closes: #562874
|
|
dh_fixperms may not always be run after dh_installchangelogs
|
|
|
|
flagged by binary-only=yes to a separate file, in order to work around infelicities in dpkg's multiarch support. Closes: #708218 (Thanks, Ansgar Burchardt)
|
|
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.
|
|
subdirectories. Closes: #521258
|
|
with a name like HISTORY. Closes: #582749
|
|
As discussed by e-mail, dh_installdocs could do with an option to make
the documentation directory a symlink, to clean up dh-using packages
that otherwise need to use override targets to arrange for dh_link to
run before dh_installdocs.
This turns out to be slightly involved due to the need to handle the
case where you want to do this *and* also install some extra
documentation in the symlink target, while also making a dangling
symlink and avoiding file conflicts in the simple case, so I had to
change dh_installchangelogs as well. I think this is right now; tested
on debconf ('dh_installdocs -Ndebconf-doc --link-doc=debconf;
dh_installdocs -pdebconf-doc') and groff ('dh_installdocs
--link-doc=groff-base').
|
|
|
|
specific upstream changelogs. Closes: #490937
|
|
".txt". Closes: #498460
|
|
files. Closes: #490937
|
|
|
|
than just looking for some predefined common cases.
|
|
* dh_installchangelogs: In v7 mode, if no upstream changelog is specified,
and the package is not native, guess at a few common changelog filenames.
|
|
|
|
"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
|
|
Even though it has personally saved me many times, debhelper is not
intended to check packages for mistakes, and apparently it makes sense
for some "native" packages to have a non-Debian changelog.
Closes: #216099
* If a native package has an upstream changelog, call the debian/changelog
changelog.Debian.
* postinst-menu-method: always chmod menu-method executable even if
update-menus is not. Closes: #220576
* dh_installmenu: do not ship menu-methods executable.
|
|
for native
packages. This doesn't follow the lead of the changelog for native
packages for the reasons discussed in bug #192089
|
|
* Typo, Closes: #183267
|
|
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.
|
|
|
|
The program generates better results, and won't annoy the people who
were oddly annoyed at having to install lynx. Instead, it will annoy a
whole other set of people, I'm sure. Closes: #93747
|
|
|
|
|
|
Closes: #75434
* Whoops, I think I overwrote bod's NMU with 2.2.15. Let's merge those
in:
.
debhelper (2.1.14-0.1) unstable; urgency=low
.
* Non-maintainer upload (thanks Joey).
* dh_installchangelogs, dh_installdocs: allow dangling symlinks for
$TMP/usr/share/doc/$PACKAGE (useful for multi-binary packages).
Closes: #53381
.
-- Brendan O'Dea <bod@debian.org> Fri, 20 Oct 2000 18:11:59 +1100
.
I also added some documentation to debhelper.1 about this, and removed
the TODO entry about it.
|
|
|
|
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.
|
|
act on files that don't exist.
* dh_installchangelogs: to comply with policy, if it's told to act on a
html changelog, it installs it as changelog.html.gz and dumps a plain
text version to changelog.gz. The dumping is done with lynx.
(Closes: #51099)
* Dh_Getopt.pm: Modified it so any options specified after -- are added to
U_PARAMS. This means that instead of passing '-u"something nasty"' to
dh_gencontrol and the like, you can pass '-- something nasty' without
fiddling to get the quoting right, etc.
|
|
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.
|
|
|