@@ -28,6 +28,7 @@ $(stampdir)/stamp-build-%: $(stampdir)/stamp-prepare-%
# Install the finished build
install-%: pkgdir = $(CURDIR)/debian/$(bin_pkg_name)-$*
+install-%: bindoc = $(pkgdir)/usr/share/doc/$(bin_pkg_name)-$*
install-%: dbgpkgdir = $(CURDIR)/debian/$(dbg_pkg_name)-$*
install-%: basepkg = $(hdrs_pkg_name)
install-%: hdrdir = $(CURDIR)/debian/$(basepkg)-$*/usr/src/$(basepkg)-$*
@@ -90,6 +91,12 @@ endif
chmod 755 $(pkgdir)/DEBIAN/$$script; \
done
+ # Install the full changelog.
+ install -d $(bindoc)
+ cat $(DEBIAN)/changelog $(DEBIAN)/changelog.historical | \
+ gzip -9 >$(bindoc)/changelog.Debian.old.gz
+ chmod 644 $(bindoc)/changelog.Debian.old.gz
+
ifneq ($(skipsub),true)
for sub in $($(*)_sub); do \
if ! (TO=$$sub FROM=$* ABI_RELEASE=$(abi_release) $(SHELL) \
We need to have the full history of the package installed with the kernel images. Therefore use the existing changelog and changelog.historical to generate a full changelog and install it in /usr/share/doc/linux-image-<version>-<flavour>. Signed-off-by: Andy Whitcroft <apw@canonical.com> --- debian.master/rules.d/2-binary-arch.mk | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-)