File: rules

package info (click to toggle)
chiark-tcl-applet 1.0-2
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 144 kB
  • sloc: tcl: 860; makefile: 32
file content (18 lines) | stat: -rwxr-xr-x 399 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

# Copyright 2016,2020 Ian Jackson
# SPDX-License-Identifier: MIT
# There is NO WARRANTY.

export prefix=/usr

%:
	dh $@

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 $@