summaryrefslogtreecommitdiffstats
path: root/util/dofile.pl
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2015-05-20 20:03:20 +0200
committerRichard Levitte <richard@levitte.org>2016-01-25 19:07:11 +0100
commit107b5792b24ae701df442cd36bda785cbaf1bfdc (patch)
treefe22340cb5cc4a7b500309bb4fc3c78bbce781fc /util/dofile.pl
parente8cdcd52b33605b44390888e6aaa0548ca877b46 (diff)
Refactor file writing - Remake Makefile.org into a template
It is time for Makefile.org to fold into the new regime and have a run through util/dofile.pl. This forces some information out of there and into Configure, which isn't a bad thing, it makes Configure increasingly the center of build information, which is as it should be. A few extra defaults were needed in the BASE template to get rid of warnings about missing values. Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Diffstat (limited to 'util/dofile.pl')
-rw-r--r--util/dofile.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/dofile.pl b/util/dofile.pl
index 617c09ce65..a6b0905a58 100644
--- a/util/dofile.pl
+++ b/util/dofile.pl
@@ -99,6 +99,7 @@ my $template = Text::Template->new(TYPE => 'STRING', SOURCE => $text );
$template->fill_in(OUTPUT => \*STDOUT,
HASH => { config => \%config,
target => \%target,
+ withargs => \%withargs,
quotify1 => \&quotify1,
quotify_l => \&quotify_l },
DELIMITERS => [ "{-", "-}" ],