Linux Commands Examples

A great documentation place for Linux commands

dh_installchangelogs

install changelogs into package build directories

Synopsis

dh_installchangelogs [debhelper options] [-k] [-Xitem] [upstream]


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0
source
            
override_dh_installchangelogs:
dh_installchangelogs NEWS
override_dh_auto_configure:
dh_auto_configure -- --disable-silent-rules
0
source
            
override_dh_installchangelogs:
dh_installchangelogs NEWS
override_dh_strip:
dh_strip --dbg-package=libortp8-dbg
0
source
            
override_dh_installchangelogs:
dh_installchangelogs NEWS
override_dh_strip:
dh_strip --dbg-package=libortp9-dbg

description

dh_installchangelogs is a debhelper program that is responsible for installing changelogs into package build directories.

An upstream changelog file may be specified as an option.

If there is an upstream changelog file, it will be be installed as usr/share/doc/package/changelog in the package build directory. If the changelog is a html file (determined by file extension), it will be installed as usr/share/doc/package/changelog.html instead, and will be converted to plain text with html2text to generate usr/share/doc/package/changelog.

options

-k, --keep

Keep the original name of the upstream changelog. This will be accomplished by installing the upstream changelog as changelog, and making a symlink from that to the original name of the changelog file. This can be useful if the upstream changelog has an unusual name, or if other documentation in the package refers to the changelog file.

-Xitem, --exclude=item

Exclude upstream changelog files that contain item anywhere in their filename from being installed.

upstream

Install this file as the upstream changelog.

files

debian/changelog
debian/NEWS

debian/package.changelog
debian/package.NEWS

Automatically installed into usr/share/doc/package/ in the package build directory.

Use the package specific name if package needs a different NEWS or changelog file.

The changelog file is installed with a name of changelog for native packages, and changelog.Debian for non-native packages. The NEWS file is always installed with a name of NEWS .Debian.


see also

debhelper

This program is a part of debhelper.


author

Joey Hess <joeyh[:at:]debian[:dot:]org>

How can this site be more helpful to YOU ?


give  feedback