From 6c0b2a2aa25be6f765da44da2f9afeaf805749e0 Mon Sep 17 00:00:00 2001 From: Matthias Paulmier Date: Tue, 15 May 2018 13:50:34 +0200 Subject: automake.in: Move out var/const declarations This is the first step in modularizing Automake for the Summer of Code project "Modularize Automake to improve its test-suite". The goal here is to move out as much as possible from bin/automake.in in order for it to eventually only call methods from the different modules. * lib/Automake/Global.pm: The Automake::Global package will now hold variable and constant declarations in order to move subroutines that use them out of the main package. * bin/automake.in: The $gen_copyright var/constant was left here because it uses a variable passed directly by the Makefile here. This needs to be looked at later. Te rest of the declarations was moved. --- lib/Automake/local.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/Automake/local.mk') diff --git a/lib/Automake/local.mk b/lib/Automake/local.mk index fbb21f3f1..79d28a596 100644 --- a/lib/Automake/local.mk +++ b/lib/Automake/local.mk @@ -28,6 +28,7 @@ dist_perllib_DATA = \ %D%/DisjConditions.pm \ %D%/FileUtils.pm \ %D%/General.pm \ + %D%/Global.pm \ %D%/Getopt.pm \ %D%/Item.pm \ %D%/ItemDef.pm \ -- cgit v1.2.1