Sun Feb 11 15:55:15 1996 Tom Tromey <tromey@creche.cygnus.com>
+ * automake.in (handle_texinfo): Push $(INFO_DEPS), not 'info',
+ onto @all.
+ (handle_options): Handle version number.
+
* automake.in ($maint_charset, $dist_charset): New variables.
(initialize_per_input): Init $local_maint_charset.
(handle_dist): Handle DIST_CHARSET and MAINT_CHARSET.
chmod -R a+r $(distdir)
tar chozf $(distdir).tar.gz $(distdir)
rm -rf $(distdir)
-all: info $(SCRIPTS) $(DATA) all-recursive
+all: $(INFO_DEPS) $(SCRIPTS) $(DATA) all-recursive
info: $(INFO_DEPS) info-recursive
* Automatically adds -I options for $(srcdir), ".", and path to config.h
* Doesn't print anything when running
* Beginnings of MAINT_CHARSET support
+* Can specify version in AUTOMAKE_OPTIONS
\f
New in 0.29:
* Many bug fixes
* Rewrite clean targets.
* Expand test suite.
-Bug: "make" in automake dir causes subdir to be built twice (by info
-and by all). Why?
-
Consider using Ulrich's test suite idea
If so, also allow support for Cygnus-style dejagnu-based test suites
via an option
each Makefile.am must be rewritten at "make dist" time if
MAINT_CHARSET and DIST_CHARSET are not identical.
-Handle dist-zoo and dist-zip.
+Handle dist-zoo and dist-zip. Generally add more DOS support. Maybe
+run "doschk" (why isn't this merged with "pathchk"?) when doing a
+dist. Do whatever else François says here...
Add support for html via an option. Use texi2html. Use
"html_TEXINFOS", and htmldir = .../html. Include html files in
# Perl reimplementation by Tom Tromey <tromey@drip.colorado.edu>.
-# Parameters set by configure. Not to be changed.
+# Parameters set by configure. Not to be changed. NOTE: assign
+# VERSION as string so that eg version 0.30 will print correctly.
$VERSION = "@VERSION@";
$prefix = "@prefix@";
$am_dir = "@datadir@/@PACKAGE@";
{
$use_dependencies = 0;
}
+ elsif (/[0-9]+\.?[0-9]+/)
+ {
+ # Got a version number. Is the syntax too strict?
+ if ($VERSION < $_)
+ {
+ &am_error ("require version $_, only have $VERSION");
+ # FIXME -- what else to do?
+ exit 1;
+ }
+ }
else
{
&am_error ('option ', $_, 'not recognized');
push (@info, '$(INFO_DEPS)');
push (@dvi, '$(DVIS)');
push (@installdirs, '$(infodir)');
- # Make sure documentation is made and installed first.
unshift (@install_data, 'install-info');
- unshift (@all, 'info');
+
+ # Make sure documentation is made and installed first. Use
+ # $(INFO_DEPS), not 'info', because otherwise recursive makes get
+ # run twice during "make all". FIXME add test case.
+ unshift (@all, '$(INFO_DEPS)');
$output_vars .= ("INFOS = " . join (' ', @infos_list) . "\n"
. "INFO_DEPS = " . join (' ', @info_deps_list) . "\n"
is useful for those situations where you don't have the necessary bits
to make automatic dependency tracking work @xref{Dependencies}. In this
case the effect is to effectively disable automatic dependency tracking.
+
+@item version
+A version number (eg @samp{0.30}) can be specified. If Automake is not
+newer than the version specified, creation of the @file{Makefile.in}
+will be suppressed.
@end table
@node Extending
-# Makefile.in generated automatically by automake 0.30 from Makefile.am
+# Makefile.in generated automatically by automake 0.3 from Makefile.am
# Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
-@set UPDATED 8 February
+@set UPDATED 11 February
@set EDITION 0.30
@set VERSION 0.30