summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@debian.org>2020-04-21 23:16:49 -0400
committerJames McCoy <jamessan@debian.org>2020-04-21 23:16:49 -0400
commitfaa403873fb5f12213b92fd34a54d3a376ced109 (patch)
tree4459f8f753d433ad69a15763c4c14d1d36c1f53e
parentac56bdcfa4311cce49484cd24ce724ea37b45d37 (diff)
Install NOTICE under usr/share/doc/libsvn-doc for libsvn-doc
Most of the package documentation is installed under usr/share/doc/libsvn-dev, but NOTICE is really in the same category as TODO, README.Debian, etc. It should be installed in the true package directory. Signed-off-by: James McCoy <jamessan@debian.org>
-rwxr-xr-xdebian/rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 2c81515..2e626fa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -275,6 +275,11 @@ override_dh_auto_clean:
override_dh_installdocs:
dh_installdocs -Nlibsvn-doc -A NOTICE
dh_installdocs -plibsvn-doc NOTICE
+ # dh_installdocs -plibsvn-doc installs the API docs under
+ # usr/share/doc/libsvn-dev, as we want, but it also puts NOTICE there.
+ # That would conflict with the same file in libsvn-dev, so move it to
+ # usr/share/doc/libsvn-doc
+ mv debian/libsvn-doc/usr/share/doc/libsvn-dev/NOTICE debian/libsvn-doc/usr/share/doc/libsvn-doc/NOTICE
override_dh_installchangelogs:
dh_installchangelogs CHANGES