NAME
Makefile::Update - Update make files.
VERSION
version 0.2
SYNOPSIS
use Makefile::Update;
my $vars = read_files_list('files.lst');
upmake('foo.vcxproj', $vars->{sources}, $vars->{headers});
FUNCTIONS
read_files_list
Reads the file containing the file lists definitions and returns a hash ref with variable names as keys and refs to arrays of the file names as values.
Takes an (open) file handle as argument.
The file contents is supposed to have the following very simple format:
# Comments are allowed and ignored.
sources =
file1.cpp
file2.cpp
headers =
file1.h
file2.h
upmake
Update the file with the given name in place using the specified function and passing it the rest of the arguments.
This is meant to be used with update_xxx()
defined in different Makefile::Update::Xxx modules.
AUTHOR
Vadim Zeitlin <vz-cpan@zeitlins.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Vadim Zeitlin.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.