lib/am


Log

Author Commit Date CI Message
Alexandre Duret-Lutz d7b43f2a 2004-01-10T00:24:29 * automake.in (shadow_unconditionally): New function... (handle_source_transform): ... extracted from here. (am_install_var): Use shadow_unconditionally to define %DISTVAR%. * lib/am/data.am, lib/am/java.am, lib/am/lisp.am, lib/am/python.am, lib/am/script.am: Add %DISTVAR% to DIST_COMMON. * tests/cond33.test: Make sure all conditional files are distributed. Report from Ralf Corsepius.
Alexandre Duret-Lutz 40b7ee3c 2004-01-07T19:40:49 * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): Add config.status.lineno.
Alexandre Duret-Lutz e6eca91c 2004-01-07T19:26:55 * lib/am/Makefile.am (dist_am_DATA): Really add inst-vars.am.
Alexandre Duret-Lutz af2cb9d0 2004-01-05T21:49:14 * lib/am/inst-vars.am: New file, define am__vpath_adj_setup, am__vpath_adj, and am__strip_dir. * lib/am/Makefile.am (dist_am_DATA): Add inst-vars.am. * lib/am/data.am, lib/am/lisp.am, lib/am/python.am, lib/am/scripts.am: Include inst-vars.am, and use $(am__vpath_adj), $(am__vpath_adj_setup), and $(am__strip_dir) in install and uninstall rules. This fixes installation of nobase_ files in VPATH setups with Sun and OSF1/Tru64 Make. * lib/am/libs.am, lib/am/ltlib.am: Include inst-vars.am, and use $(am__strip_dir) to simplify install and uninstall rules. * tests/nobase.test: Augment to check installation from VPATH builds.
Alexandre Duret-Lutz 262bb922 2004-01-05T09:02:06 * automake.in (%transformed_files): New variable. (initialize_per_input): Reset it. (make_paragraphs): Fill %transformed_files, and define %FIRST% each time a file is transformed for the first time. (handle_configure): Do not define %FIRST_CONFIG_HIN%. (am_install_var): Do not define %FIRST%. * lib/am/remake-hdr.am: Use %?FIRST% instead of %?FIRST_CONFIG_HIN%.
Alexandre Duret-Lutz d82b453e 2004-01-01T18:54:20 Do not output .lo rules for programs and static libraries objects, and do not output .o/.obj rules for libtool libraries. This is about explicit rules only, not inference rules. * automake.in (handle_single_transform_list): Rename as ... (handle_single_transform): ... this. Take a single file to transform (it was only called this way) and accept a new %transform argument. Fill %lang_specific_files with list references instead of strings, and append %transform to each of these lists. (define_objects_from_sources, handle_source_transform): Take a %transform argument, and forward it to &handle_single_transform. (handle_languages): Adjust to the new format of %lang_specific_files, and honor its %transform part. (handle_programs, handle_libraries, handle_ltlibraries): Override %NONLIBTOOL% and %LIBTOOL% while calling handle_source_transform. (make_paragraphs): Define %NONLIBTOOL% by default. Make sure %transform settings override global settings. * lib/am/depend2.am (%OBJ%, %OBJOBJ%): Define only if %NONLIBTOOL%. * tests/libtool3.test: Augment to check Makefile.ins for unneeded rules. Suggested by Thomas Fitzsimmons.
Alexandre Duret-Lutz 16773768 2004-01-01T17:34:18 * automake.in, aclocal.in: Bump copyright years.
Alexandre Duret-Lutz 13089ee2 2003-12-30T23:49:58 * automake.in (handle_languages): Define %DEPBASE% conditionally on subdir-objects. Define SUBDIROBJ. Do not clean *_.c files here ... (lang_c_finish): ... do it here. (handle_single_transform_list): Do not output specific rules for subdir-objects files which are not renamed. This should reduce the size of Makefiles with lots of subdirectory sources. * lib/depcomp: Simplify computation of dependency output, and use DEPDIR. * lib/am/depend2.am (%EXT%.o, %EXT%.obj, %EXT%.lo): Adjust call to depcomp. Compute depbase on-the-fly in generic fastdep rules for subdir-objects. * tests/ansi9.test: Do not grep for an explicit rule that we no longer expect. Really run $MAKE to make sure the chain of rules works. * tests/yacc5.test: Do not grep for an explicit rule that we no longer expect. Adjust to use set -e.
Alexandre Duret-Lutz 8a894d1d 2003-12-27T01:38:42 * automake.in (maybe_push_required_file): Add $(srcdir) in front a required files outside the current directory or its subdirectories. * lib/am/distdir.am (distdir): Update comment. Report from Nicolas Joly.
Alexandre Duret-Lutz b0d2aa09 2003-12-10T19:09:15 * configure.ac, NEWS: Bump version to 1.8a.
Alexandre Duret-Lutz 3cef4cd7 2003-12-10T19:06:17 * configure.ac, NEWS: Bump version to 1.8.
Alexandre Duret-Lutz 9f11286e 2003-12-04T18:17:20 * automake.in ($config_header_location): Remove. Use %ac_config_files_location instead. (rewrite_inputs_into_dependencies): Do not prepend $(top_builddir)/ at the top-level. (handle_configure): Use rewrite_inputs_into_dependencies to distribute and compute AC_CONFIG_HEADERS dependencies. (scan_autoconf_traces) <AC_CONFIG_HEADERS>: Fill %ac_config_files_location. * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Rename as ... (%CONFIG_HIN%): ... this. $(srcdir) is already added in scan_autoconf_traces. * tests/Makefile.am (TESTS): Add confh5.test. * tests/confh5.test: New file.
Alexandre Duret-Lutz 1baa604d 2003-12-02T20:55:19 * configure.ac, NEWS: Bump version to 1.7i.
Alexandre Duret-Lutz d29f6b27 2003-12-02T20:43:16 * configure.ac, NEWS: Bump version to 1.7h.
Alexandre Duret-Lutz 6f7ba322 2003-11-25T22:58:07 * configure.ac, NEWS: Bump version to 1.7g.
Alexandre Duret-Lutz b82f7257 2003-11-25T22:50:00 * configure.ac, NEWS: Bump version to 1.7f.
Alexandre Duret-Lutz b50a6495 2003-11-24T07:39:10 * lib/am/texibuild.am (%SOURCE_SUFFIX%.html): Work around a Texinfo 4.1 bug. Report from Dalibor Topic.
Alexandre Duret-Lutz 17820676 2003-11-22T18:05:35 Fix for PR automake/411: * automake.in (rewrite_inputs_into_dependencies): Simplify, and rename into ... (prepend_srcdir): ... this. (rewrite_inputs_into_dependencies): New function, extracted from ... (handle_configure): ... here. Adjust to use prepend_srcdir or rewrite_inputs_into_dependencies where needed. Especially, using (the new) rewrite_inputs_into_dependencies to compute Makefile dependencies will fix PR/411. * lib/am/configure.am (DIST_COMMON): Remove %MAKEFILE-IN%, it's already distributed by rewrite_inputs_into_dependencies. * tests/Makefile.am (TESTS): Add output10.test, remove distcom.test. * tests/colon3.test: Use set -e. Don't allow any AUTOMAKE invocation refer to zardoz. Make sure two.in and three.in appear as $(srcdir)/two.in and $(srcdir)/three.in dependencies. * tests/distcom.test: Delete. This is covered by tests/output9.test. * tests/output10.test: New file, for PR/411.
Alexandre Duret-Lutz 60bcced5 2003-11-19T20:09:46 * lib/am/configure.am (%MAKEFILE%): Remove %MAINTAINER-MODE%, mistakenly added on 2001-03-05. * tests/remake5.test: New file. * tests/Makefile.am (TESTS): Add remake5.test. Report from Ralf Corsepius.
Alexandre Duret-Lutz f79c3a44 2003-11-18T21:23:03 * configure.ac, NEWS: Bump version to 1.7e.
Alexandre Duret-Lutz a73e6326 2003-11-18T21:21:00 * configure.ac, NEWS: Bump version to 1.7d.
Alexandre Duret-Lutz 86a72498 2003-11-18T20:40:48 * lib/am/texinfos.am (install-info): Depend on install-info-recursive or install-info-am even if no-installinfo. * tests/txinfo27.test: New file. * tests/Makefile.am (TESTS): Add txinfo26.test.
Alexandre Duret-Lutz 9b5e57d5 2003-11-17T23:18:20 * automake.in (generate_makefile): Define SUBDIRS if it is not defined and DIST_SUBDIRS is. * tests/subpkg2.test: New file. * tests/Makefile.am (TESTS): Add subpkg2.test. Report from Gary V. Vaughan.
Jim Meyering e1f171d2 2003-11-17T09:05:30 Mark %MAKEFILE% as `.PRECIOUS'.
Alexandre Duret-Lutz 4cdf3e88 2003-11-14T21:12:27 Fix for PR automake/408: * lib/am/texinfos.am (install-info-am): Strip any $(srcdir)/ prefix from $file, as already done for dist-info. * tests/Makefile.am (TESTS): Add txinfo26.test. * tests/txinfo26.test: New file. Report from Nicholas Wourms.
Alexandre Duret-Lutz 6b86476f 2003-11-13T19:39:06 * m4/lispdir.m4 (AM_PATH_LISPDIR): If EMACS=t, empty it before running AC_CHECK_PROGS(EMACS). * lib/am/lisp.am (elc-stamp): Quote $(EMACS). Report from Jens Petersen.
Alexandre Duret-Lutz 851f11ea 2003-11-11T21:44:05 * configure.ac, NEWS: Bump version to 1.7c.
Alexandre Duret-Lutz 0e85cb3d 2003-11-11T21:39:26 * configure.ac, NEWS: Bump version to 1.7b. * Makefile.am (maintainer-check): Ignore comments while scanning for rm without -f.
Alexandre Duret-Lutz 526a21cd 2003-11-11T00:07:17 * doc/automake.texi (Texinfo): Define MAKEINFO, MAKEINFOHTML, MAKEINFOFLAGS, AM_MAKEINFOFLAGS, AM_MAKEINFOHTMLFLAGS, TEXI2DVI, TEXI2PDF, DVIPS, and TEXINFO_TEX in a table. (Uniform): Do not speak of missing HTML support, this is confusing. * lib/Automake/Variable.pm (_silent_variable_override): Add AM_MAKEINFOHTMLFLAGS. * lib/am/texibuild.am (%SOURCE_SUFFIX%.html): Use MAKEINFOHTML and AM_MAKEINFOHTMLFLAGS instead of MAKEINFO and AM_MAKEINFOFLAGS. * lib/am/texinfos.am (MAKEINFOHTML, AM_MAKEINFOHTMLFLAGS): Define. * tests/txinfo21.test: Add a test with AM_MAKEINFOHTMLFLAGS.
Alexandre Duret-Lutz 2a8e1b17 2003-11-10T20:55:33 * automake.in (handle_configure): Distribute and define mkinstalldirs only if it is already present in the package. (scan_autoconf_files): Do not require mkinstalldirs. (require_build_directory): Use $(mkdir_p), not $(mkinstalldirs). * lib/am/data.am, lib/am/distdir.am, lib/am/install.am, lib/am/java.am, lib/am/libs.am, lib/am/lisp.am, lib/am/mans.am, lib/am/progs.am, lib/am/python.am, lib/am/scripts.am, lib/am/texinfos.am: Use $(mkdir_p) instead of $(mkinstalldirs). * m4/mkdirp.m4: New file. * m4/Makefile.am (dist_m4data_DATA): Add mkdirp.m4. * m4/init.m4 (AM_INIT_AUTOMAKE): Call AM_PROG_MKDIR_P. * tests/Makefile.am (TESTS): Remove insh.test. * tests/insh.test: Delete. * tests/defs.in, tests/instsh.test: Do not install mkinstalldirs. * tests/auxdir.test: Install mkinstalldirs. * tests/distdir.test, tests/instman.test, tests/pr2.test: Use $(mkdir_p), not $(mkinstalldirs). * tests/empty.test: Run configure, do not substitute things by hand. * doc/automake.texi (Optional) <AC_CONFIG_FILES>: Take install-sh as an example, not mkinstalldirs. (Auxiliary Programs) <mkinstalldirs>: Update.
Alexandre Duret-Lutz 73d377d2 2003-11-08T16:07:45 * lib/am/tags.am (ETAGSFLAGS, CTAGSFLAGS): Remove. * lib/am/dejagnu.am (RUNTESTFLAGS): Remove. * lib/am/java.am (JAVACFLAGS): Remove. * tests/dejagnu3.test: Check that the environment value of RUNTESTFLAGS get passed down to runtest. Suggested by Mark Mitchell.
Alexandre Duret-Lutz 3ff71ab7 2003-11-08T14:03:35 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj) (?GENERIC?%EXT%.lo): Do not echo compile command manually, this breaks `make -s'. Instead, fold the compile command on two lines, so that it take less space on the display. Suggested by Karl Berry and William Fulton.
Alexandre Duret-Lutz 9bfd1b3f 2003-11-08T13:01:13 * lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%): Rename as ... (%DEST_INFO_PREFIX%%DEST_SUFFIX%): ... this, and honor ?INSRC? to select $(srcdir) or `.' builds. (INFO_DEPS): Define here. * lib/am/texinfos.am (dist-info): Strip filename starting with "$(srcdir)/". * automake.in (output_texinfo_build_rules): Take a new argument $insrc, and adjust substitutions in 'texibuild'. (handle_texinfo_helper): Compute a regex of all user-cleaned files, and use this to select whether to build .info files in `.' or $(srcdir). Give an account of the $(srcdir) vs `.' debacle. Alway build the version.texi and stamp files in $(srcdir). Do not define INFO_DEPS. * tests/Makefile.am (TESTS): Add txinfo23.test, txinfo24.test, and txinfo25.test. * tests/txinfo23.test, tests/txinfo24.test, tests/txinfo25.test: New files. * tests/txinfo13.test, tests/txinfo16.test, tests/txinfo3.test, tests/vtexi.test: Adjust to new rules.
Alexandre Duret-Lutz adb20140 2003-10-27T21:17:15 * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Erase %STAMP%. * tests/Makefile.am (TESTS): Add autohdr3.test * tests/autohdr3.test: New file.
Alexandre Duret-Lutz 0768132f 2003-10-27T07:52:00 * automake.in (handle_configure): Rename am__configure_deps as am__aclocal_m4_deps and include $(ACLOCAL_M4_SOURCES) and $configure_ac. Define am__configure_deps as am__aclocal_m4_deps + $(CONFIGURE_DEPENDENCIES) + $(ACLOCAL_M4). Do not define ACLOCAL_M4_DEPS while processing configure.am. (make_paragraphs): Do not define %CONFIGURE_AC%, now unused. (scan_aclocal_m4): Do not distribute aclocal.m4, this is done from lib/am/configure.am. * lib/am/configure.am (%MAKEFILE-IN%, DIST_COMMON, $(top_srcdir)/configure, $(ACLOCAL_M4)): Simplify using $(am__configure_deps) or $(am__aclocal_m4_deps). * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Likewise.
Alexandre Duret-Lutz bf318d28 2003-10-26T22:07:46 * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Depend on $(am__configure_deps).
Alexandre Duret-Lutz c8e03eca 2003-10-26T21:20:11 * automake.in (handle_configure): Distribute all AC_CONFIG_HEADERS sources, and without using require_file. Define %CONFIG_H_DEPS% and %FIRST_CONFIG_HIN% while processing remake-hdr.am. * lib/am/remake-hdr.am (%STAMP%): Use %CONFIG_H_DEPS% instead of (srcdir)/%CONFIG_HIN%. Output the $(srcdir)/%CONFIG_HIN% rule only for the first header (i.e., if %FIRST_CONFIG_HIN%). * tests/autohdr4.test: New file. * tests/Makefile.am (TESTS): Add autohdr4.test. * tests/config.test: Do not grep, run things to see if they work.
Alexandre Duret-Lutz 51216089 2003-10-25T21:49:51 * tests/output7.test: Populate sub/ with a dummy file, so that it is not empty. This fixes a failure reported by Patrick Welche. * lib/am/distdir.am: Add note about tar's `-o' option and empty directories.
Alexandre Duret-Lutz 44784989 2003-10-21T16:29:04 * m4/lispdir.m4 (AM_PATH_LISPDIR): Always check for Emacs. Always define lispdir. * lib/am/lisp.am (install-%DIR%LISP, uninstall-%DIR%LISP): Check $(EMACS) to decide whether _LISP files must be installed, not $(lispdir). * doc/automake.texi (Emacs Lisp): Mention the two ways to install non byte-compiled Emacs lisp files. * tests/lisp4.test, tests/lisp5.test: Check "make install" when EMACS=no. Suggested by Simon Josefsson.
Alexandre Duret-Lutz 7e5770f9 2003-10-21T16:11:54 typo
Alexandre Duret-Lutz 2f048a8c 2003-10-21T13:05:55 * lib/am/install.am (install-strip): Override install_sh_PROGRAM too. Report from Elmar Hoffmann.
Alexandre Duret-Lutz d8271758 2003-10-03T08:58:00 For Debian Bug #213524: * lib/am/texinfos.am (install-info-am, uninstall-info-am): Merge stderr and stdout, and grep only the first line while testing install-info --version's output. This revert part of the change from 2001-05-18.
Alexandre Duret-Lutz 6b872f6d 2003-09-29T20:21:19 * automake.in (handle_clean): Take $makefile as argument, and define %MAKEFILE% while processing clean.am. (generate_makefile): Pass $makefile to handle_clean. * lib/am/clean.am (distclean, maintainer-clean): Erase %MAKEFILE%, not Makefile. * tests/gnumake.test: New file. * tests/Makefile.am (TESTS): Add gnumake.test. Report from Braden N. McDaniel.
Alexandre Duret-Lutz 18d5b482 2003-09-24T21:20:06 * configure.in: Rename as ... * configure.ac: ... this. * README: s/configure.in/configure.ac/.
Alexandre Duret-Lutz 74fe06a8 2003-09-23T08:14:35 Support for multiple inputs in AC_CONFIG_FILES. Requested long ago by Harlan Stenn. * automake.in (handle_dist): Remove unused argument $makefile. (handle_subdirs): Expect SUBDIRS elements in $relative_dir, not $am_relative_dir. (rewrite_inputs_into_dependencies): Allow $add_srcdir to be a filename that must always be prefixed by $(srcdir) or $(top_srcdir). (handle_configure, generate_makefile): Revamp to make the Makefile.am, Makefile.in, Makefile more independent. (locate_am): New function. (scan_configure_dep, parse_arguments): Use locate_am. (MAIN): Adjust call to generate_makefile. * lib/am/configure.am: Remove %MAKEFILE-IN% from the dependencies of %MAKEFILE%. %MAKEFILE-IN% is already in %MAKEFILE-DEPS%. * tests/output6.test, tests/output7.test: New files. * tests/Makefile.am (TESTS): Add them. * automake.texi (Requirements) <AC_CONFIG_FILES>: Document how multiple inputs are scanned.
Paul Eggert 636c8076 2003-09-06T05:36:57 Spelling and minor grammar fixes.
Alexandre Duret-Lutz 4de3f2b8 2003-08-24T02:16:31 * automake.in (file_contents_internal): Do not add newlines before empty actions.
Alexandre Duret-Lutz 0bdf8b9d 2003-08-24T02:00:58 * aclocal.in (write_aclocal): Take an output file and list of used macros in arguments and make up the file contents here. (trace_used_macros): New function. (add_file): Do not update $output. ($output): Delete. (MAIN): Call trace_used_macros. Then rewrite aclocal.m4 only for these traced macros. This should shorten aclocal.m4 by stripping out unused macros. * automake.texi (Invoking aclocal): Document ${AUTOM4TE}. * tests/aclibobj.test: Make sure configure.in exists by the time aclocal runs. * tests/aclocal8.test: New file. * tests/Makefile.am (TESTS): Add aclocal8.test. Suggested by Bruno Haible and Akim Demaille.
Akim Demaille 38fc65e9 2003-08-20T17:28:05 * lib/Automake/FileUtils.pm: More perldoc. (&up_to_date_p): New.
Alexandre Duret-Lutz 851e765a 2003-07-27T12:58:38 * lib/am/compile.am (mostlyclean-compile): Do not erase core dumps. * automake.texi (Built sources example): Adjust example.
Alexandre Duret-Lutz cfea6a81 2003-07-24T21:26:56 Fix missing rebuilds during `make dist' with BSD make. * automake.in (generate_makefile): Do not push Makefile.in, and Makefile.am into DIST_COMMON here. * lib/am/configure.am (DIST_COMMON): Do it here, and use %MAKEFILE-AM% and %MAKEFILE-IN% so that items in DIST_COMMON actually match the targets. Prefix `configure' with `$(srcdir)/' to match the target. * tests/remake4.test: New file. * tests/Makefile.am (TESTS): Add remake4.test. Report from Akim Demaille.
Alexandre Duret-Lutz eaddaf5c 2003-07-24T08:05:03 regen
Alexandre Duret-Lutz 36fd44a7 2003-07-23T21:04:17 * automake.in (handle_multilib): Register all-multi. (file_contents_internal): Insert n when concatenating actions from "factored" rules. * lib/config-ml.in: New file, from GCC, including a patch from Ralf Corsepius (see GCC's PR 11526). * lib/symlink-tree.in: New file, from GCC. * lib/Makefile.am (dist_script_DATA): Add config-ml.in and symlink-tree. * lib/am/clean.am (distclean-generic): Do not delete Makefile here... (distclean, maintainer-clean): ... do it here. * lib/am/depend.am (distclean-depend): Likewise, replace by (distclean, maintainer-clean): ... these. * lib/am/multilib.am (all-recursive, install-recursive, mostlyclean-recursive, clean-recursive, distclean-recursive, maintainer-clean-recursive): Remove these rules. (mostlyclean-am, clean-am, distclean-am, maintainer-clean-am): Replace by ... (mostlyclean, clean, distclean, maintainer-clean): ... these. (all-am): Remove, done in handle_multilib. (install-am): Replace by ... (install-exec-am): ... this. * tests/Makefile.am (TESTS): Add multlib.test. * tests/multlib.test: New file, based on a test case by Ralf Corsepius
Derek R. Price ff8634e6 2003-07-16T19:10:07 * automake.in (scan_autoconf_traces): Handle AC_CONFIG_LINKS. (handle_configure): Handle adding AC_CONFIG_LINKS arguments to distclean targets (CONFIG_CLEAN_FILES makefile var). * NEWS: Note new handling of AC_CONFIG_LINKS. * automake.texi (Other things Automake recognizes): Ditto. * tests/Makefile.am (TESTS): Add new tests. * tests/conflnk.test: New test that links are cleaned on distclean. * tests/conflnk2.test: New test that source files for links are distributed. * Makefile.in: Regenerated. * aclocal.m4: Ditto. * configure: Ditto. * stamp-vti: Ditto. * version.texi: Ditto. * lib/Makefile.in: Ditto. * lib/Automake/Makefile.in: Ditto. * lib/Automake/tests/Makefile.in: Ditto. * lib/am/Makefile.in: Ditto. * m4/Makefile.in: Ditto. * tests/Makefile.in: Ditto.
Raja R Harinath 307d66f7 2003-07-10T22:26:09 (am--refresh): Silence.
Akim Demaille 164a3583 2003-07-06T19:30:46 * lib/am/subdirs.am (RECURSIVE_TARGETS): Move install-recursive, install-exec-recursive, install-data-recursive and uninstall-recursive addition to... * lib/am/texinfos.am: here. * lib/am/texinfos.am, lib/am/subdirs.am: Remove the .PHONY declaration of RECURSIVE_TARGETS.
Akim Demaille f9cef4a3 2003-07-06T07:42:36 * automake.in (&define_files_variable): New. (&handle_texinfo_helper): Move the handling of user variables from here, to... (&handle_texinfo): here. This is to balance the size of these functions, and to match the convention of other _helper functions. (&handle_texinfo_helper): Use &define_files_variable. Move some code to use less variables. Rename $info_cursor as $texi. (&handle_texinfo): Do not call handle_texinfo_helper if there are no TEXINFOS. * lib/am/texinfos.am: Sort the occurrences of dvi, info, pdf, ps and html. Remove *-recursive targets from .PHONY, they are part of $(RECURSIVE_TARGETS) anyway. (install-info, mostlyclean-aminfo): Are .PHONY.
Akim Demaille 88f1bd81 2003-07-05T08:23:18 * lib/am/distdir.am: Use ';' as a terminator, not a separator, for sed complex commands, as required by NetBSD sed. Reported by Patrick Welche.
Alexandre Duret-Lutz 3251a5a4 2003-07-02T20:53:07 * lib/am/distdir.am (distcheck): Protect loop of DIST_ARCHIVES from empty DIST_ARCHIVES.
Alexandre Duret-Lutz c7c1d2d7 2003-06-27T18:35:14 2003-06-27 Alexandre Duret-Lutz <adl@gnu.org> * tests/aclocal6.test: Test maintainer-clean in VPATH builds. (For Ralf's fix.) 2003-06-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (tiny change) * lib/am/configure.am (maintainer-clean): Remove $(top_srcdir)/autom4te.cache, not autom4te.cache.
Alexandre Duret-Lutz 7b15b184 2003-06-27T00:03:59 * lib/am/distdir.am (distcheck): Run $(am__remove_distdir) at the end of distcheck. This was mistakenly removed on 2003-06-15. * tests/subpkg.test: Make sure distcheck cleans up after itself.
Akim Demaille 782464d3 2003-06-25T14:01:24 * automake.texi (Top): Use @copying and @insertcopying. Make Alexandre an author. * automake.in ($gen_copyright): Add the "(C)" to Copyright. * lib/depcomp: Likewise.
Alexandre Duret-Lutz 97aee5d7 2003-06-20T20:38:58 * automake.in (handle_dist): Delete DIST_COMMON before redefining it. Bug report from Akim Demaille. (rewrite_inputs_into_dependencies): Make sure we always return something, even when $add_srcdir is 0. * tests/distcom4.test, tests/distcom5.test: New files. * tests/Makefile.am (TESTS): Add distcom4.test and distcom5.test.
Akim Demaille 1bac96a2 2003-06-20T08:16:43 * lib/am/configure.am: Replace leading spaces with a real tab.
Alexandre Duret-Lutz 45bb4d83 2003-06-15T17:35:50 2003-06-15 Akim Demaille <akim@epita.fr> * automake.in (&make_paragraphs): Define %GZIP%. (&process_option_list): Accept no-dist-gzip2. (&handle_dist): Complain when no archive format is enabled. * lib/am/distdir.am (DIST_ARCHIVES): New variable. (dist-gzip, dist-bzip2, dist-tarZ, dist-zip): No longer conditioned. (dist): Build $(distdir).tar.gz conditionally. (distcheck): Use DIST_ARCHIVES to find an archive to unpack, and to list built archives. Run $(MAKE) dist instead of dist-gzip. * automake.texi (Options, The types of distributions): Adjust.
Alexandre Duret-Lutz 9f02b686 2003-06-02T23:35:00 * alocal.in: Use Automake::Configure_ac. ($configure_ac): Delete. (scan_configure): Adjust use of find_configure_ac; * automake.in: Use Automake::Configure_ac. ($configure_ac): Delete. (scan_autoconf_files): Adjust use of find_configure_ac; * lib/Automake/Configure_ac.pm: New file. * lib/Automake/General.pm (find_configure_ac): Delete. Now replaced by Automake::Configure_ac::search_configure_ac. * lib/Automake/Makefile.am (dist_perllib_DATA): Add Configure_ac.pm. * lib/Automake/Variable.pm: Use Automake::Configure_ac. (require_variables): Adjust use of $configure_ac.
Akim Demaille f68696e2 2003-06-02T07:08:40 * lib/am/texi-vers.am, lib/am/subdirs.am, lib/am/scripts.am, * lib/am/remake-hdr.am, lib/am/python.am, lib/am/progs.am, * lib/am/program.am, lib/am/multilib.am, lib/am/mans.am, * lib/am/mans-vars.am, lib/am/ltlibrary.am, lib/am/ltlib.am, * lib/am/lisp.am, lib/am/libtool.am, lib/am/library.am, * lib/am/lang-compile.am, lib/am/java.am, lib/am/header.am, * lib/am/header-vars.am, lib/am/footer.am, lib/am/depend.am, * lib/am/dejagnu.am, lib/am/data.am, lib/am/compile.am, * lib/am/clean.am, lib/am/clean-hdr.am, lib/am/check.am, * lib/am/ansi2knr.am, lib/am/Makefile.am, lib/Makefile.am, * m4/strip.m4, m4/sanity.m4, m4/runlog.m4, m4/regex.m4, * m4/python.m4, m4/protos.m4, m4/options.m4, m4/obsolete.m4, * m4/obsol-lt.m4, m4/obsol-gt.m4, m4/multi.m4, m4/missing.m4, * m4/minuso.m4, m4/maintainer.m4, m4/lispdir.m4, m4/lex.m4, * m4/install-sh.m4, m4/header.m4, m4/gcj.m4, m4/dmalloc.m4, * m4/depout.m4, m4/cond.m4, m4/ccstdc.m4, m4/auxdir.m4, m4/as.m4, * m4/Makefile.am: White space changes and Copyright updates.
Alexandre Duret-Lutz f79ed3e7 2003-05-17T11:31:57 * lib/am/install.am (install, install-exec, install-data, uninstall): Declare conditionally using a if/else/endif block instead of using ?SUBDIRS?-style conditions. The latter fail when %maybe_BUILT_SOURCES% is replaced by several lines. This fixes a bug introduced on 2003-04-06. * tests/bsource.test: New file. * tests/Makefile.am (TESTS): Add bsource.test. Reported by Bruno Haible.
Alexandre Duret-Lutz 7a857e24 2003-05-06T22:29:16 * lib/am/configure.am (%MAKEFILE-IN%): Propagate automake's exit status. * tests/makej.test: New file (test Autom4te's cache locking, new in CVS Autoconf). * tests/Makefile.am (TESTS): Add makej.test.
Alexandre Duret-Lutz 0cfc348e 2003-04-25T20:46:21 * automake.in (handle_configure): Don't add @configure_deps to DIST_COMMON, we do this from lib/am/configure.am now. Define the am__configure_deps variable instead of substituing %CONFIGURE_DEPS%. * lib/am/configure.am (%MAKEFILE-IN%, $(top_srcdir)/configure, $(ACLOCAL_M4)): Use $(am__configure_deps) instead of %CONFIGURE_DEPS%. (DIST_COMMON): Add $(am__configure_deps).
Alexandre Duret-Lutz 535b7ba4 2003-04-25T18:39:21 * tests/aclocal6.test: New file. * lib/am/configure.am (am--refresh): New rule. (%MAKEFILE-IN%, %MAKEFILE%, $(top_builddir)/config.status, $(top_srcdir)/configure): Call the top-level am--refresh from subdirectories. ($(ACLOCAL_M4)): Depend upon %CONFIGURE_DEPS%. Call the top-level am--refresh when not in the top-level directory. Fix jump directories for VPATH builds. Suggested by Raja R. Harinath.
Alexandre Duret-Lutz ab57cf28 2003-04-24T18:48:07 * automake.in (scan_aclocal_m4): Do not parse ACLOCAL_AMFLAGS and glob for m4_files (We've got all local m4 files while tracing m4_include's). Diagnose ACLOCAL_M4_SOURCES as obsolete. Distribute aclocal.m4 only at the top-level. (my_glob): Remove. This fixes PR automake/11. (handle_dist): Strip leading `./' from directories. * aclocal.in (add_file): Output 'm4_include([file.m4])' instead of copying local files. (write_aclocal, parse_arguments): Bump copyright date. * configure.in: De not build m4/amversion.m4 from here ... * m4/Makefile.am ($(srcdir)/amversion.m4): ... do this here. (nodist_m4data_DATA): Use $(srcdir)/amversion.m4 instead of amversion.m4. * tests/Makefile.am (XFAIL_TESTS): Remove aclocal5.test. (TESTS): Remove aclocal2.test. Do not test aclocal.test twice. * tests/aclocal2.test: Delete (pointless). * tests/aclocal5.test: Make sure configure's dependencies are distributed. * tests/acinclude.test: Adjust to search for m4_include. * tests/dirlist.test, tests/dup3.test: Run $AUTOCONF and grep configure instead of aclocal.m4.
Alexandre Duret-Lutz b51046f0 2003-04-24T18:39:32 For automake PR/46: * automake.in (scan_aclocal_m4): Work in all directories, not only the top-level. Prepend $(top_srcdir) in front of each aclocal.m4 dependency. * lib/am/configure.am (config.status, configure, $(ACLOCAL_M4)): Define rebuild rules in each directory. * tests/subdir8.test: Augment to exercise aclocal.m4's dependencies from the top-level directory. * tests/aclocal5.test: New file. Exercise aclocal.m4's dependencies from a subdirectory. * tests/Makefile.am (TESTS): Add aclocal5.test. (XFAIL_TESTS): Replace subdir8.test by aclocal5.test.
Alexandre Duret-Lutz 9f26c3bb 2003-04-24T18:33:42 For automake PR/46: * lib/am/configure.am (%MAKEFILE-IN%): If Makefile.in is rebuilt because of one of configure's dependencies, run automake without argument to update the whole tree at once. Depend upon %CONFIGURE_DEPS%. (%MAKEFILE%): If Makefile is rebuilt because config.status has been updated, run config.status without arguments. * automake.in (scan_autoconf_traces): Prepend $(top_srcdir) before all files in @configure_deps. * tests/subdir5.test: Modernize configure.in, make sure maude/Makefile was actually created, and exercise %CONFIGURE_DEPS%. * tests/subdir8.test: New file. * tests/Makefile.am (TESTS): Add subdir8.test. (XFAIL_TESTS): Replace subdir5.test by subdir8.test.
Richard Dawe 0225bb1c 2003-04-18T09:07:01 * lib/am/dejagnu.am (site.exp): Don't define tool in site.exp, because we set that by invoking runtest with --tool. * tests/Makefile.am (TESTS): Add dejagnu4.test, dejagnu5.test, dejagnu6.test, dejagnu7.test. * tests/dejagnu4.test: New test. * tests/dejagnu5.test: New test. * tests/dejagnu6.test: New test. * tests/dejagnu7.test: New test. * tests/dejagnu3.test: Make sure the DejaGnu test is actually run.
Jim Meyering 50ca3cb8 2003-04-18T08:54:34 * lib/am/yacc.am (?!GENERIC?%OBJ% aka .y.c): Don't redirect directly to $@. Instead, redirect to $@t and rename upon success. Also, move the commands that update $@ so they are last. Otherwise, this rule could leave the user with an up to date target (.c file) but with a missing or corrupted corresponding .h file.
Alexandre Duret-Lutz c72520e2 2003-04-15T20:40:31 * lib/am/distdir.am (distuninstallcheck, distcleancheck): Silent these rules, so that we don't confuse users by echoing "echo ERROR:" commands which are not run.
Alexandre Duret-Lutz 5eec56e1 2003-04-14T19:59:30 2003-03-14 Richard Dawe <rich@phekda.freeserve.co.uk> Alexandre Duret-Lutz <adl@gnu.org> * automake.in (output_texinfo_build_rules, handle_texinfo_helper, initialize_per_input): Add infrastructure for generating HTML documentation from texinfo source. * lib/am/texinfos.am: Add rules for building HTML documentation from texinfo source. * lib/am/texibuild.am: Likewise. * automake.texi (Texinfo): Document rules for building HTML documentation from texinfo source. * tests/txinfo21.test: New file. * tests/Makefile.am (TESTS): Add txinfo21.test. * tests/defs.in: Handle required=makeinfo-html.
Alexandre Duret-Lutz c60acc33 2003-04-14T19:13:15 * automake.in (%silent_variable_override): New variable. (macro_define): Warn about variable definitions overriding Automake variables. (rule_define): Warn about target definitions overriding Automake variables. Fix $condmsg definition. * automake.texi (Invoking Automake): Document the `override' category. * lib/Automake/ChannelDefs.pm (usage): Likewise. * lib/am/texinfos.am [!%?CYGNUS] (MAKEINFO): Do not define, this is already done in m4/init.m4. * tests/dejagnu2.test: Run $MAKE, don't only grep. Use -Wno-override, and make sure we get a warning without. * tests/exeext2.test, tests/substtarg.test: Use -Wno-override, and make sure we get a warning without. * tests/exeext3.test, tests/java2.test, tests/nolink.test, tests/subpkg.test, tests/vartest.test: Use -Wno-override. * tests/txinfo13.test: Use installcheck-local instead of overriding installcheck. * tests/txinfo2.test: Run $MAKE on the real Makefile (this test used to succeed thanks to a failure...) * tests/location.test: Adjust expected messages. * tests/Makefile.am (XFAIL_TESTS): Add txinfo5.test.
Alexandre Duret-Lutz 5b0f6ee7 2003-04-11T21:12:23 * lib/Automake/tests/Condition.pl (test_reduce_and) (test_reduce_or): Cosmetics. * lib/Automake/tests/DisjConditions.pl (test_sub_conditions): Fix a comment. * lib/Automake/DisjConditions.pm (sub_conditions): Add missing C<...> in comment. * tests/yacc8.test, configure.in: Update copyright year.
Alexandre Duret-Lutz 9845b2f9 2003-04-06T19:26:29 * automake.in (handle_installdirs): Rename as ... (handle_install): ... this. Define maybe_BUILT_SOURCES. (generate_makefile): Adjust call to handle_install. * lib/am/install.am (install): Use %maybe_BUILT_SOURCES%. * automake.texi (Sources, Built sources example): BUILT_SOURCES is honored by `make install' too. * tests/check3.test: Make sure that `make install' also depends upon BUILT_SOURCES. Report from Alexander Turbov.
Alexandre Duret-Lutz a71b3490 2003-04-06T18:31:12 * lib/am/libs.am (ARFLAGS): Define. * automake.in (handle_libraries): Use `$(ARFLAGS)' instead of hard-coding `cru'. * automake.texi (A Library): Explain how AR, ARFLAGS and RANLIB are used, and how they can be overridden. (Program and Library Variables): Adjust to show `$(ARFLAGS)' instead of `cru' * tests/ar.test: Rewrite to test for AR, ARFLAGS, and RANLIB. * tests/ranlib.test: Delete, obsoleted by ar.test. * tests/Makefile.am (TESTS): Remove ranlib.test. Report from Paul Thomas.
Alexandre Duret-Lutz c7e4205d 2003-03-23T20:37:20 * lib/am/tags.am (TAGS): Use --etags-include instead of --include, when supported by etags (Exuberant Ctags). * tests/tagsub.test: Rewrite to _run_ the `tags' rule.
Alexandre Duret-Lutz 05b30fc2 2003-03-14T21:57:49 regen
Alexandre Duret-Lutz b36e1c8d 2003-03-13T20:50:59 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj) (?GENERIC?%EXT%.lo): Use `mv -f' instead of `mv' in FASTDEP mode. Suggested by Matthias Andree.
Alexandre Duret-Lutz 0b0f6d10 2003-03-08T09:02:15 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj) (?GENERIC?%EXT%.lo): Hide the if/then/else machinery for FASTDEP. Just echo the gcc command. Suggested by Karl Berry.
Alexandre Duret-Lutz 6ceac84e 2003-03-06T21:18:57 * lib/am/depend2.am (?GENERIC?%EXT%.lo): Do not use `test -f foo || echo $(srcdir)/` to emulate a VPATH search when outputing suffix rules. This follows 2003-02-25's change. * lib/am/lex.am (?GENERIC?%EXT%%DERIVED-EXT%): Likewise. * lib/am/yacc.am (?GENERIC?%EXT%%DERIVED-EXT%): Likewise.
Alexandre Duret-Lutz 29e44495 2003-03-06T21:11:48 * lib/am/depend2.am (?GENERIC?%EXT%.lo): Do not use `test -f foo || echo $(srcdir)/` to emulate a VPATH search when outputing suffix rules. This follows 2003-02-25's change. * lib/am/lex.am (?GENERIC?%EXT%%DERIVED-EXT%): Likewise. * lib/am/yacc.am (?GENERIC?%EXT%%DERIVED-EXT%): Likewise.
Alexandre Duret-Lutz 421258da 2003-02-25T20:07:33 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj): Do not use the `test -f foo || echo $(srcdir)/` to emulate a VPATH search when outputing suffix rules. * lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.dvi) (?GENERIC?%SOURCE_SUFFIX%.pdf): Likewise. Suggested by Bruno Haible.
Alexandre Duret-Lutz 9fee13fe 2003-02-24T22:09:21 * lib/am/texibuild.am: Don't remove the target info files. Instead, back up and restore them if makeinfo fails. * tests/txinfo20.test: New file. * tests/Makefile.am (TESTS): Add txinfo20.test.
Alexandre Duret-Lutz 7d180ac5 2003-02-20T16:49:44 * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Use $(...) instead of ${...}.
Alexandre Duret-Lutz f840b413 2003-02-19T20:06:39 * lib/am/distdir.am (distcheck): Strip any leading DOS drive from dc_install_base.
Alexandre Duret-Lutz 7a486d61 2003-02-19T19:12:56 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Install DJGPP-style *.iNN info files. (maintainer-clean-aminfo): Rewrite using the same pattern as in uninstall-info-am. * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Erase DJGPP-style *.iNN info files before running $(MAKEINFO). * tests/txinfo19.test: New file. * tests/Makefile.am (TESTS): Add txinfo19.test.
Alexandre Duret-Lutz e9dae118 2003-01-31T23:35:02 * automake.texi (Program and Library Variables): Clarify that _LIBADD is for libraries and _LDADD for programs.
Alexandre Duret-Lutz b1fe8738 2003-01-21T18:02:34 * lib/am/distdir.am (top_distdir, distdir): Define these variables only in top level Makefile. Redefine $(top_distdir) as $(distdir). (distdir): Fix passing of $(top_distdir) to sub-makes. * automake.in (handle_dist): Do not define the DISTDIR and TOP_DISTDIR transformations. We don't need them anymore. * automake.texi (Dist): Reorder the dist-hook section, and move the DIST_SUBDIRS paragraph earlier. Document distdir and top_distdir. * tests/subpkg.test: Update to check for $(distdir) and $(top_distdir).
Alexandre Duret-Lutz a17b4312 2003-01-13T14:22:25 * lib/am/distdir.am (distcheck): '=' is not valid in DOS filenames. Use '_build' and '_inst' instead of '=build' and '=inst'. * tests/man2.test: Reflect change automake: check for files in '_build' and '_inst' directories instead of '=build' and '=inst'.
Alexandre Duret-Lutz 1b88809d 2003-01-10T17:25:38 Build elisp files all at once instead of one by one. * automake.in (handle_emacs_lisp): Define am__ELFILES. Add elc-stamp to all's dependencies. * lib/am/lisp.am (elc-stamp): New rule, build all *.elc files. (.el.elc): Rewrite to call elc-stamp if $@ doesn't exist. (clean-lisp): Clean elc-stamp. * lib/elisp-comp: Reindent. Erase the temporatry directory from a trap. Propagate Emacs's exit status. * tests/lisp3.test: New file. * tests/Makefile.am (TESTS): Add lisp3.test. Reported by Ryan T. Sammartino.
Akim Demaille 25db9e9b 2003-01-09T12:43:42 Regen.
Alexandre Duret-Lutz 62134ac5 2002-12-05T15:26:58 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Strip directories from info filenames. * tests/texinfo13.test: Make sure main.info gets installed as $(infodir)/main.info.
Alexandre Duret-Lutz 74d579f4 2002-12-04T17:37:12 * lib/am/mans.am (uninstall-man%SECTION%): Change the extension of the man pages being uninstalled, if needed.