File: rules

package info (click to toggle)
mysqltuner 2.7.0-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 47,992 kB
  • sloc: perl: 6,725; sh: 320; makefile: 92
file content (24 lines) | stat: -rwxr-xr-x 558 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f

# See debhelper(7) (uncomment to enable).
# Output every command that modifies files on the build system.
export DH_VERBOSE = 1

%:
	dh $@

override_dh_auto_build:
	pod2man mysqltuner.pl > mysqltuner.1

override_dh_auto_install:
	dh_auto_install
	cp mysqltuner.pl debian/mysqltuner/usr/bin/mysqltuner
	sed -i '1s|^#!/usr/bin/env perl|#!/usr/bin/perl|' debian/mysqltuner/usr/bin/mysqltuner

override_dh_auto_clean:
	dh_auto_clean
	rm -f mysqltuner.1

override_dh_fixperms:
	dh_fixperms
	chmod a-x debian/mysqltuner/usr/share/mysqltuner/*