From 3e980142ea901253f41238b12f6b146de2e298d7 Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Sat, 14 May 2016 22:23:21 +0200 Subject: [PATCH] Fix installation of documentation Remove the docs file, since that is only valid for the default (first) package, and move to explicit dh_installdocs commands. Also separate the NEWS file into dh_installchangelogs, so that lintian doesn't warn about missing upstream changelog. --- debian/docs | 2 -- debian/rules | 8 +++++++- 2 files changed, 7 insertions(+), 3 deletions(-) delete mode 100644 debian/docs diff --git a/debian/docs b/debian/docs deleted file mode 100644 index 449e0b5..0000000 --- a/debian/docs +++ /dev/null @@ -1,2 +0,0 @@ -NEWS -README.rst diff --git a/debian/rules b/debian/rules index 74c924d..60b8b8e 100755 --- a/debian/rules +++ b/debian/rules @@ -24,4 +24,10 @@ override_dh_strip: dh_strip -ppython3-pyxattr --dbgsym-migration='python3-pyxattr-dbg (<< 0.5.6-1~)' override_dh_auto_test: - echo "Tests need an xattr-enabled filesystem, not running by default" + @echo "Tests need an xattr-enabled filesystem, not running by default" + +override_dh_installdocs: + dh_installdocs -A README.rst + +override_dh_installchangelogs: + dh_installchangelogs -A NEWS -- 2.39.2