chiark / gitweb /
packaging: Add missing reference to GPL in common-licenses
[chiark-tcl-applet.git] / debian / rules
1 #!/usr/bin/make -f
2
3 # Copyright 2016,2020 Ian Jackson
4 # SPDX-License-Identifier: MIT
5 # There is NO WARRANTY.
6
7 export prefix=/usr
8
9 %:
10         dh $@
11
12 debian/copyright: debian/copyright.head debian/copyright.tail \
13                          README debian/rules
14         cat >$@.tmp debian/copyright.head
15         sed >>$@.tmp <README -n \
16                 '/^Legal information$$/,$$ { s/^$$/./; s/^/ /; p; }'
17         cat >>$@.tmp debian/copyright.tail
18         mv -f $@.tmp $@