Fix display of changelog, credits and to-do files.

Use absolute paths to compensate for the fact that we don't install
duplicates in /usr/share/doc/dvdisaster-doc or build with source
path embedded anymore.
This commit is contained in:
Carlos Maddela
2016-12-22 12:38:44 +11:00
parent c525e2fdf9
commit df6fe7761f
4 changed files with 57 additions and 0 deletions

8
debian/rules vendored
View File

@@ -27,3 +27,11 @@ override_dh_auto_install-arch:
override_dh_auto_install-indep:
make install-doc BUILDROOT=$(CURDIR)/debian/tmp
# Ensure that none of the text files that the application
# tries to display directly are not compressed, as it doesn't
# automatically decompress text files.
override_dh_compress:
dh_compress -p dvdisaster \
-X.CHANGELOG -XCREDITS -XREADME.MODIFYING -XTODO
dh_compress --remaining-packages