File: rules

package info (click to toggle)
libattean-perl 0.021-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,652 kB
  • sloc: perl: 20,675; makefile: 10; sh: 4
file content (15 lines) | stat: -rwxr-xr-x 348 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

# avoid binaries (installed as sample files instead)
override_dh_install:
	dh_install
	rm debian/lib*/usr/bin/*
	rmdir debian/lib*/usr/bin

override_dh_installexamples:
	dh_installexamples
	find debian/lib*/usr/share/doc/*/examples -type f -print0 | \
		xargs -r0 sed -i -e '1s|^#!/usr/bin/env perl|#!/usr/bin/perl|'

%:
	dh $@