summaryrefslogtreecommitdiff
path: root/lib/Automake/SilentRules.pm
diff options
context:
space:
mode:
authorMatthias Paulmier <matthias.paulmier@etu.u-bordeaux.fr>2018-06-22 15:42:17 +0200
committerMatthias Paulmier <matthias.paulmier@etu.u-bordeaux.fr>2018-06-22 15:42:17 +0200
commit0e457a7739be363646336086dbf7b78382e8b6dd (patch)
treea95a9342f38420a5f13c7d163543b76f87874afa /lib/Automake/SilentRules.pm
parentb46a00b456e3091dcf72ab072ae136b9d73833ea (diff)
downloadautomake-0e457a7739be363646336086dbf7b78382e8b6dd.tar.gz
lib: Harmonize Exporter package usage
Now the modules don't inherit Exporter anymore. We just get the import method from it since it is the only method that interests us.
Diffstat (limited to 'lib/Automake/SilentRules.pm')
-rw-r--r--lib/Automake/SilentRules.pm9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/Automake/SilentRules.pm b/lib/Automake/SilentRules.pm
index ee4e94509..c57ddb599 100644
--- a/lib/Automake/SilentRules.pm
+++ b/lib/Automake/SilentRules.pm
@@ -17,15 +17,12 @@ package Automake::SilentRules;
use Automake::Utils;
use Automake::Variable;
-use Exporter;
+use Exporter 'import';
-use vars '@ISA', '@EXPORT';
-
-@ISA = qw (Exporter);
+use vars qw (@EXPORT);
@EXPORT = qw (verbose_flag verbose_nodep_flag silent_flag
- define_verbose_texinfo define_verbose_libtool
- handle_silent);
+ define_verbose_texinfo define_verbose_libtool handle_silent);
# Silent rules handling functions.