Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 CURRENT_PERL := $(shell perl -e 'print $$]')
4
5 %:
6 dh $@
7
8 override_dh_auto_build:
9 dh_auto_build
10
11 # safeguard against a Module::CoreList version which doesn't know about the current Perl
12 @echo Checking support for Perl $(CURRENT_PERL)
13 @perl -Iblib/lib -MModule::CoreList -E '$$date=$$Module::CoreList::released{"$(CURRENT_PERL)"} or say "Perl $(CURRENT_PERL) not supported by version $$Module::CoreList::VERSION of Module::CoreList"; exit !$$date;'