chiark / gitweb /
build system: debian/copyright file
[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 README debian/rules
13         cat >$@.tmp debian/copyright.head
14         sed >>$@.tmp <README -n \
15                 '/^Legal information$$/,$$ { s/^$$/./; s/^/ /; p; }'
16         mv -f $@.tmp $@