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
|