File: rules

package info (click to toggle)
tkdnd 2.6-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 944 kB
  • ctags: 393
  • sloc: ansic: 1,852; tcl: 1,568; cpp: 1,303; sh: 559; objc: 543; makefile: 14
file content (18 lines) | stat: -rwxr-xr-x 559 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/tcl8.5 --with-tk=/usr/lib/tk8.5

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