File: rules

package info (click to toggle)
libset-object-perl 1.39-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 608 kB
  • sloc: perl: 1,041; makefile: 12
file content (19 lines) | stat: -rwxr-xr-x 427 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

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

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

export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow

%:
	dh $@

override_dh_auto_build:
	dh_auto_build
	pod2text Changes.pod > CHANGES

override_dh_auto_install:
	dh_auto_install
	$(RM) -v $(TMP)/$(ARCHLIB)/Set/Changes.pod $(TMP)/usr/share/man/man3/Set::Changes.3pm