File: rules

package info (click to toggle)
libfile-mmagic-xs-perl 0.09006-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 612 kB
  • sloc: perl: 1,870; ansic: 1,856; makefile: 7; xml: 1
file content (12 lines) | stat: -rwxr-xr-x 305 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

PACKAGE := $(shell dh_listpackages)
TMP     := $(CURDIR)/debian/$(PACKAGE)

%:
	dh $@

override_dh_auto_install:
	dh_auto_install
	# we install benchmark.pl as an example later
	[ ! -f $(TMP)/usr/lib/perl5/File/MMagic/benchmark.pl ] || rm $(TMP)/usr/lib/perl5/File/MMagic/benchmark.pl