Tom Tromey [Sat, 13 Nov 1999 00:15:57 +0000 (00:15 +0000)]
* Makefile.am (path-check): Make sure distdir is writeable before
removing it.
* automake.in (handle_texinfo): Added `cm' and `ov' extensions.
(handle_dist_worker): Make sure distdir is writeable before
removing it.
(initialize_global_constants [$dist_trailer]): Make sure distdir
is writeable before removing it.
* dist.am (distcheck): Make the new source tree read-only before
compiling. Idea from Karl Berry.
Tom Tromey [Mon, 8 Nov 1999 00:24:00 +0000 (00:24 +0000)]
Fix for PR automake/18:
* automake.in (handle_dist): Add contents of dist.am to the output
rules.
* Makefile.am (amfiles): Added dist.am.
* dist.am: New file.
(distcheck): Added uninstall and distclean checks.
Tom Tromey [Thu, 24 Jun 1999 18:18:28 +0000 (18:18 +0000)]
1999-06-25 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* configure.in (ACLOCAL): Do not prepend the variable SRCDIR to
m4.
(AUTOMAKE): Set --amdir to current directory.
Alexandre Oliva [Mon, 7 Jun 1999 03:34:00 +0000 (03:34 +0000)]
* automake.in (dist_header): Avoid changing permissions of files
in the source tree, trying a complex `find/chmod' command before
falling back to plain chmod.
(handle_dist_worker): Do not create directories with mode 777, the
find above will take care of that.
* m4/init.m4: Set install_sh for find/chmod above.
Tom Tromey [Fri, 30 Apr 1999 22:18:59 +0000 (22:18 +0000)]
* automake.in (finish_languages): Always use `-o $@' with
libtool. Define ltcompile and ltlink at outermost scope in
function.
* libtool.am (.c.lo): Removed.
Tom Tromey [Fri, 30 Apr 1999 10:45:28 +0000 (10:45 +0000)]
* automake.in (finish_languages): Put `.' before extension in
suffix list, `.obj' rule, and `.lo' rule. Look at `-flags', not
`-flag'. From Pavel Roskin.
Tom Tromey [Tue, 27 Apr 1999 13:56:59 +0000 (13:56 +0000)]
* automake.in (handle_lib_objects_cond): Prefer `$1' over `\1'.
Minor rewrite for clarity.
(check_canonical_spelling): Prefer `$1' over `\1'.
* depend2.am (@OBJ@): Renamed. Use @SOURCE@, @COMPILE@. Always
use `-o $@'.
(@LTOBJ@): Likewise.
* automake.in (handle_single_transform_list): Don't print rule if
doing dependency tracking and the file's language supports it.
(initialize_per_input): Initialize lang_specific_files.
(add_depend2): New function.
(handle_dependencies): Use it.
* automake.in (lang_ppf77_finish): Use lang_f77_finish.
ratfor compiler name is `RCOMPILE'. ppf77 compiler name changed
to `PPF77COMPILE' to allow use of f77 and ppf77 in the same
directory.
(lang_ratfor_finish): Use lang_f77_finish.
* compile.am (NOTDEPEND.c.o): Removed.
(OBJEXT.c.obj): Likewise.
* automake.in: Added `flags' attribute to all relevant languages.
(handle_single_transform_list): Handle per-derived-object flags.
Changed interface and all callers.
(handle_built_sources): Don't call handle_single_transform_list.
Added `compile' and `compiler-name' attribute to all relevant
languages.
(finish_languages): Define compiler variables here.
(lang_cxx_finish): Don't call define_compiler_variable. Don't
define flag variable or .o rules. Don't add to @suffixes.
(lang_f77_finish): Likewise.
(lang_ppf77_finish): Likewise.
(lang_objc_finish): Likewise.
(lang_java_finish): Likewise.
(finish_languages): Define flag variable here.
Added `output-arg' attribute to all relevant languages.
(finish_languages): Define `.o' rules here.
(finish_languages): Put extension on @suffixes.
(get_object_extension): Don't transform NOTDEPEND or MINUSO.
Tom Tromey [Tue, 27 Apr 1999 13:46:40 +0000 (13:46 +0000)]
* specflags3.test: New file.
* Makefile.am (TESTS): Added specflags3.test.
(TESTS): Now lists one file per line, for simpler maintenance.
* specflags2.test: New file.
* specflags.test: New file.
* Makefile.am (TESTS): Added specflags.test, specflags2.test.
Tom Tromey [Sat, 24 Apr 1999 16:30:44 +0000 (16:30 +0000)]
* automake.in (generate_makefile): Define `subdir' after reading
.am file.
(read_main_am_file): Give programming error if variable defined
before invocation.
* m4/lispdir.m4: Do not override lispdir if it's already defined.
Run some emacs-lisp to find out the site-lisp directory, but
relocate it into prefix.
* m4/mktime.m4 (bigtime_test, main): Move alarm from
bigtime_test to main, since Solaris 7 (64-bit) mktime loops
even outside of bigtime_test. Use a time limit of 60 seconds
for the whole test, not 10 seconds per iteration.
Tom Tromey [Fri, 16 Apr 1999 14:02:15 +0000 (14:02 +0000)]
From Brian Ford:
* progs.am (install-@DIR@PROGRAMS, uninstall-@DIR@PROGRAMS):
Invoke `sed' only once per program.
* scripts.am (install-@DIR@SCRIPTS, uninstall-@DIR@SCRIPTS):
Invoke `sed' only once per program.