File: rules

package info (click to toggle)
tkdnd 2.6-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 944 kB
  • sloc: ansic: 1,852; tcl: 1,568; cpp: 1,303; sh: 559; objc: 543; makefile: 14
file content (18 lines) | stat: -rwxr-xr-x 546 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
%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --with-tcl=/usr/lib --with-tk=/usr/lib

override_dh_auto_test:
	echo "'make test' doesn't work with tkdnd"

override_dh_install:
	dh_install
	cat Changelog | gzip -9c > debian/tkdnd/usr/share/doc/tkdnd/changelog.gz
	mv debian/tkdnd/usr/share/man/mann debian/tkdnd/usr/share/man/man3
	mv debian/tkdnd/usr/share/man/man3/tkDND.n  \
		debian/tkdnd/usr/share/man/man3/tkdnd.3tcl
	sed -i 's|^\.TH tkdnd n |.TH tkdnd 3tcl |' \
		debian/tkdnd/usr/share/man/man3/tkdnd.3tcl