File: rules

package info (click to toggle)
libfile-mmagic-xs-perl 0.09008-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 480 kB
  • ctags: 477
  • sloc: perl: 2,130; ansic: 1,858; makefile: 8; xml: 1
file content (14 lines) | stat: -rwxr-xr-x 372 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

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

ARCHLIB := $(shell perl -MConfig -e 'print $$Config{vendorarch}')

%:
	dh $@

override_dh_auto_install:
	dh_auto_install
	# we install benchmark.pl as an example later
	[ ! -f $(TMP)/$(ARCHLIB)/File/MMagic/benchmark.pl ] || $(RM) -v $(TMP)/$(ARCHLIB)/File/MMagic/benchmark.pl