File: rules

package info (click to toggle)
magic 8.0.210-2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 18,148 kB
  • ctags: 12,466
  • sloc: ansic: 175,447; sh: 10,448; perl: 4,105; tcl: 2,917; lisp: 2,554; makefile: 1,898; cpp: 587; csh: 149; awk: 140
file content (15 lines) | stat: -rwxr-xr-x 320 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@ --with autotools_dev

override_dh_auto_install:
	dh_auto_install
	sed -i -e "s,/usr/bin/wish,$(shell readlink -f /usr/bin/wish)," debian/magic/usr/bin/magic

override_dh_auto_clean:
	dh_auto_clean
	-rm -f scripts/config.cache