* automake.texi (Invoking Automake): Deprecate --output-dir.
* automake.in (usage): Don't document --output-dir.
(output_directory): Don't initialize.
(parse_arguments): Deprecate --output-dir.
2002-03-17 Tom Tromey <tromey@redhat.com>
+ Fix for PR automake/295:
+ * automake.texi (Invoking Automake): Deprecate --output-dir.
+ * automake.in (usage): Don't document --output-dir.
+ (output_directory): Don't initialize.
+ (parse_arguments): Deprecate --output-dir.
+
* m4/init.m4 (AUTOMAKE, ACLOCAL): Removed extra quotes.
Fixes PR automake/304.
# Directory where output files go. Actually, output files are
# relative to this directory.
-my $output_directory = '.';
+my $output_directory;
# List of Makefile.am's to process, and their corresponding outputs.
my @input_files = ();
)
or exit 1;
+ if (defined $output_directory)
+ {
+ print STDERR "$0: `--output-dir' is deprecated\n";
+ }
+ else
+ {
+ # In the next release we'll remove this entirely.
+ $output_directory = '.';
+ }
+
foreach my $arg (@ARGV)
{
if ($arg =~ /^-./)
--help print this help, then exit
--version print version number, then exit
-v, --verbose verbosely list files processed
- -o, --output-dir=DIR put generated Makefile.in's into DIR
--no-force only update Makefile.in's that are out of date
Dependency tracking:
@itemx --output-dir=@var{dir}
@opindex -o
@opindex --output-dir
-@c FIXME: This seems to be a left-over from Automake 1.4, unused today.
Put the generated @file{Makefile.in} in the directory @var{dir}.
Ordinarily each @file{Makefile.in} is created in the directory of the
-corresponding @file{Makefile.am}. This option is used when making
-distributions.
+corresponding @file{Makefile.am}. This option is deprecated and will be
+removed in a future release.
@item -v
@itemx --verbose
-@set UPDATED 5 March 2002
+@set UPDATED 17 March 2002
@set UPDATED-MONTH March 2002
@set EDITION 1.6a
@set VERSION 1.6a
-@set UPDATED 5 March 2002
+@set UPDATED 17 March 2002
@set UPDATED-MONTH March 2002
@set EDITION 1.6a
@set VERSION 1.6a