lib/Automake/FileUtils.pm


Log

Author Commit Date CI Message
Alexandre Duret-Lutz 16ca5753 2005-02-06T12:33:32 * aclocal.in (usage, parse_arguments): New --dry-run and --diff options. (install_file, write_aclocal): Honor --dry-run and --diff. * doc/automake.texi (aclocal options): Document --dry-run and --diff. (Serials): Mention --diff. * lib/Automake/FileUtils.pm (handle_exec_errors): Accept an $expected_exit_code argument. (xsystem): Take a list of arguments, not a string. * tests/acloca18.test: Use --dry-run and --diff. Suggested by Paul Eggert.
Akim Demaille 4ef522ee 2005-01-24T17:03:54 * lib/Automake/FileUtils.pm: Rename filename as file_name to be consistent with the terminology of the GNU coding standards. From Paul Eggert. (update_file): Accept a $force argument, so that --force always updates the time stamps.
Alexandre Duret-Lutz 7eaf5f45 2004-12-08T22:00:50 * lib/Automake/FileUtils.pm (dir_has_case_matching_file, reset_dir_cache): New functions. * automake.in (handle_dist, require_file_internal): Use them, so that CHANGELOG is not confused with ChangeLog on case-insensitive case-preserving file systems. * tests/hfs.test: New file. * tests/Makefile.am (TESTS): Add hfs.test.
Akim Demaille b02c8bff 2003-09-12T08:37:57 * lib/Automake/FileUtils.pm (&update_file): s/cannot not/cannot/g. Reported by Gary Vaughan. (&find_file): Walk the @include in forward order.
Akim Demaille 9293885d 2003-09-09T12:27:28 * lib/Automake/FileUtils.pm (&update_file): Be sure not to leave trailing files.
Akim Demaille 38fc65e9 2003-08-20T17:28:05 * lib/Automake/FileUtils.pm: More perldoc. (&up_to_date_p): New.
Alexandre Duret-Lutz 4152bd4a 2003-07-09T22:09:28 * aclocal.in: Use Automake::FileUtils. (parse_arguments, scan_configure, scan_m4_files): Never call "die" to print an error message. Use print and exit. * automake.in: Use Automake::FileUtils. * lib/Automake/General.pm ($debug, $help, $tmp, $verbose, $version, &debug, &getopt, &mktmpdir, &verbose): Remove. (END): Do not massage Perl's exit code. Do not clean any temporary directory. (find_file, mtime, update_file, xsystem, contents): Move to ... * lib/Automake/FileUtils.pm: ... this new file. Adjust to report errors using Channels. (handle_exec_errors, xqx): New functions, from Autoconf. * lib/Automake/Makefile.am (dist_perllib_DATA): Add FileUtils.pm.