File: rules

package info (click to toggle)
libtokyocabinet-perl 1.34-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 560 kB
  • sloc: perl: 5,439; sh: 47; makefile: 9
file content (14 lines) | stat: -rwxr-xr-x 358 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

PACKAGE = $(shell dh_listpackages)
TMP     = $(CURDIR)/debian/$(PACKAGE)
ARCHLIB := $(shell perl -I/usr/lib/$(DEB_HOST_MULTIARCH)/perl/cross-config-$(PERLVER) -MConfig -e 'print $$Config{vendorarch}')

%:
	dh $@

override_dh_auto_install:
	dh_auto_install
	$(RM) -v $(TMP)/$(ARCHLIB)/*.pl