[libntl] 01/01: Keep copying.txt to avoid dead links in the documentation (and document it with a lintian override)

Julien Puydt julien.puydt at laposte.net
Sat Aug 9 19:47:24 UTC 2014


This is an automated email from the git hooks/post-receive script.

jpuydt-guest pushed a commit to branch master
in repository libntl.

commit a5093f492c69291230ffcd07c2b26050ed0d80d7
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Sat Aug 9 21:44:09 2014 +0200

    Keep copying.txt to avoid dead links in the documentation (and document it with a lintian override)
---
 debian/libntl-dev.lintian-overrides | 2 ++
 debian/rules                        | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/libntl-dev.lintian-overrides b/debian/libntl-dev.lintian-overrides
new file mode 100644
index 0000000..d3ab4d0
--- /dev/null
+++ b/debian/libntl-dev.lintian-overrides
@@ -0,0 +1,2 @@
+# we need copying.txt there so there is no dead link in the html documentation
+libntl-dev binary: extra-license-file
diff --git a/debian/rules b/debian/rules
index c8bd0e7..d99f201 100755
--- a/debian/rules
+++ b/debian/rules
@@ -67,11 +67,11 @@ binary-arch: build-arch-stamp
 	$(MAKE) -C src install PREFIX='$(CURDIR)/debian/tmp/usr'
 	dh_install
 	dh_installchangelogs
-	rm -f debian/tmp/usr/share/doc/NTL/copying.txt
 	mv debian/tmp/usr/share/doc/NTL debian/libntl*-dev/usr/share/doc/libntl*-dev/
 	dh_installexamples
 	dh_installdocs
 	dh_installman
+	dh_lintian
 	dh_link
 	dh_strip
 	dh_makeshlibs -V

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/libntl.git



More information about the debian-science-commits mailing list