Actually install udev's README.Debian when building for Debian

Closes: #776546
This commit is contained in:
Martin Pitt 2015-01-30 10:37:31 +01:00
parent f6443ba5f9
commit 2e3f65eb2b
2 changed files with 5 additions and 1 deletions

2
debian/changelog vendored
View File

@ -12,6 +12,8 @@ systemd (218-7) UNRELEASED; urgency=medium
* debian/udev.README.Debian: Trim the parts which are obsolete, wrong, or
described in manpages. Only keep the Debian specific bits.
(Part of #776546)
* Actually install udev's README.Debian when building for Debian.
(Closes: #776546)
[ Michael Biebl ]
* Update Vcs-Browser URL to use cgit and https.

4
debian/rules vendored
View File

@ -189,10 +189,12 @@ endif
rm debian/udev/lib/udev/*.agent; \
fi
# use symlinked doc directories on Debian as the old udev package did
# use symlinked doc directories on Debian as the old udev package did; we have
# to manually install udev's README for that
override_dh_installdocs:
if ! dpkg-vendor --is ubuntu; then \
dh_installdocs -pudev -plibudev-dev --link-doc=libudev1; \
install -D --mode 644 debian/udev.README.Debian debian/libudev1/usr/share/doc/libudev1/README.Debian; \
dh_installdocs -pgir1.2-gudev-1.0 -plibgudev-1.0-dev --link-doc=libgudev-1.0-0; \
fi
dh_installdocs --remaining-packages