chiark / gitweb /
packaging: Add missing reference to GPL in common-licenses
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 10 Mar 2020 14:53:38 +0000 (14:53 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 10 Mar 2020 14:53:38 +0000 (14:53 +0000)
Prompted by lintian.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/copyright.tail [new file with mode: 0644]
debian/rules

diff --git a/debian/copyright.tail b/debian/copyright.tail
new file mode 100644 (file)
index 0000000..07491c8
--- /dev/null
@@ -0,0 +1,3 @@
+ .
+ On Debian systems a copy of the GPLv3 can be found in
+ /usr/share/common-licenses/GPL-3
index 867ea35d7c565b0a6620b12ae61b53b083c9dfdf..8acaaecfa9da6388fab4f7eaadfdb172659cad9f 100755 (executable)
@@ -9,8 +9,10 @@ export prefix=/usr
 %:
        dh $@
 
-debian/copyright: debian/copyright.head README debian/rules
+debian/copyright: debian/copyright.head debian/copyright.tail \
+                        README debian/rules
        cat >$@.tmp debian/copyright.head
        sed >>$@.tmp <README -n \
                '/^Legal information$$/,$$ { s/^$$/./; s/^/ /; p; }'
+       cat >>$@.tmp debian/copyright.tail
        mv -f $@.tmp $@