File: rules

package info (click to toggle)
libmoose-perl 2.1807-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 6,952 kB
  • ctags: 2,846
  • sloc: perl: 20,922; ansic: 298; makefile: 10
file content (23 lines) | stat: -rwxr-xr-x 702 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

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

%:
	dh $@

override_dh_auto_install:
	dh_auto_install

	# Do not install the moose-outdated script. It is only needed to check
	# for installed modules that conflicts with Moose, on Debian systems
	# this is already done by the maintainers of libmoose-perl (using the
	# proper fields in debian/control), hence there's no reason to get it
	# installed.
	$(RM) -v $(TMP)/usr/bin/moose-outdated
	rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/bin

	# empty manpage(s)
	$(RM) $(TMP)/usr/share/man/man3/Moose::Util::TypeConstraints::Builtins.3pm