Skip to content

Commit

Permalink
Utilize TemplateFiles to create build/Makefile.in
Browse files Browse the repository at this point in the history
  • Loading branch information
perlpilot committed Aug 18, 2010
1 parent 09b345c commit b4acf81
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 18 deletions.
26 changes: 8 additions & 18 deletions build/Makefile.in
Expand Up @@ -53,24 +53,14 @@ PERL6_EXE = perl6$(EXE)
PERL6_LANG_DIR = $(PARROT_LIB_DIR)/languages/perl6

MODULES = \
modules/zavolaj \
modules/MiniDBI \
modules/xml-writer \
modules/svg \
modules/svg-plot \
modules/Math-RungeKutta \
modules/Math-Model \
modules/mainline \
modules/perl6-Config-INI \
modules/perl6-File-Find \
modules/perl6-Term-ANSIColor \
modules/Algorithm-Viterbi \
modules/test-mock \
modules/Perl6-MIME-Base64 \
modules/perl6-lwp-simple \
modules/json \
modules/yaml-pm6 \
modules/form \
{{
my %modules;
for my $file (@{$dist->files}) {
next unless $file->name =~ m!^(modules/[^/]+)!;
$modules{$1}++;
}
join " \\\n", map { " $_" } sort keys %modules;
}}

all: rakudo

Expand Down
3 changes: 3 additions & 0 deletions dist.ini
Expand Up @@ -45,3 +45,6 @@ copyright_year = 2010
Temporal-Utils = git://github.com/supernovus/temporal-utils.git
XML-Writer = git://github.com/masak/xml-writer.git
Form = git://github.com/mathw/form.git

[TemplateFiles]
filename = build/Makefile.in

0 comments on commit b4acf81

Please sign in to comment.