lib/am/lisp.am


Log

Author Commit Date CI Message
Alexandre Duret-Lutz d5bf5b1c 2004-02-01T12:54:02 Support for conditional _LISP. * automake.in (handle_emacs_lisp): Define $(ELCFILES) from LISP, not from $(am__ELCFILES). * lib/am/lisp.am (elc-stamp): Use $(LISP) instead of $(am__ELFILES). * tests/lisp6.test: New file. * tests/Makefile.am (TESTS): Add it.
Alexandre Duret-Lutz 1c4bc227 2004-02-01T12:18:02 * automake.in (handle_emacs_lisp): Define $(ELCFILES) as $(am__ELCFILES), and always push it on @all. Do not mention elc-stamp. * lib/am/lisp.am (.el.elc): Rewrite as ... ($(am__ELCFILES)): ... this, and depend on elc-stamp. (elc-stamp): Make sure elc-stamp is older that all .elc files, as explained in the manual entry below.
Alexandre Duret-Lutz b5a48a38 2004-01-28T20:50:43 * Makefile.am (maintainer-check): Check for unquoted $(DESTDIR) uses. * lib/am/data.am, lib/am/distdir.am, lib/am/java.am, lib/am/libs.am, lib/am/lisp.am, lib/am/ltlib.am, lib/am/mans.am, lib/am/progs.am, lib/am/python.am, lib/am/scripts.am, lib/am/texinfos.am: Quote installation paths in install, uninstall, and installcheck rules, as well as in am__installdirs variables. This is for the sake of paths containing spaces. * lib/am/install.am (installdirs-am, installdirs): Do not try to create "" directories. * test/instspc.test: New file. * test/Makefile.am (TESTS): Add instspc.test. Report from James Amundson.
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 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 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 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 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.
Paul Eggert 636c8076 2003-09-06T05:36:57 Spelling and minor grammar fixes.
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 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.
Alexandre Duret-Lutz f03fe6ea 2002-07-08T19:41:24 Fix for PR automake/291: * automake.in (macro_define): Catch variable names starting with `_'. (handle_installdirs): Rename _am_installdirs to am__installdirs. * lib/am/data.am, lib/am/install.am, lib/am/libs.am, lib/am/lisp.am, lib/am/ltlibs.am, lib/am/mans.am, lib/am/progs.am, lib/am/python.am, lib/am/scripts.am, lib/am/texinfos.am: Likewise. * tests/canon5.test: Use -Wno-portability. * tests/vars2.test: New file. * tests/Makefile.am (TESTS): Add vars2.test.
Alexandre Duret-Lutz c9c536af 2002-04-13T21:26:36 Enable traces; wipe out the old configure.in parser. * automake.in (scan_autoconf_traces): Use '$ENF{AUTOCONF}' of 'autoconf'. Honnor the $filename argument. (scan_autoconf_files): Don't call scan_one_autoconf_file. Always call scan_autoconf_traces. (scan_one_autoconf_file): Remove, with it associated regexes. (obsolete, obsolete_rx): Remove. (register_language, handle_languages): Remove the 'define_flag' support. Remove it from the struct and language definitions too. (unquote_m4_arg): Remove. * lib/am/header-vars.am, lib/am/compile.am, lib/am/lisp.am: Remove the `FOO = @FOO@' definitions for all AC_SUBST'ed variables. They are now generated automatically. * aclocal.in (obsolete_macros): Don't mention obsolete_macros in automake.in. * automake.texi (Invoking Automake): Mention the AUTOCONF envvar.
Alexandre Duret-Lutz 48099901 2001-11-09T16:25:03 Fix for nobase.test: * lib/am/header-vars.am (install_sh_DATA): New. * lib/am/data.am (install-%DIR%%PRIMARY%): Declare and use %DIR%%PRIMARY%_INSTALL, and set it to $(install_sh_DATA) instead of $(INSTALL_DATA) for nobase_ targets. * lib/am/lisp.am (install-%DIR%LISP): Likewise. * lib/am/python.am (install-%DIR%PYTHON): Likewise. * tests/nobase.test (configure.in): Append AC_OUTPUT. * tests/Makefile.am (XFAIL_TESTS): Remove nobase.test.
Alexandre Duret-Lutz dd76e69d 2001-10-02T15:29:40 * automake.in (handle_python): Use require_conf_file_with_conf_line instead of require_file_with_conf_line, so that elisp-comp and py-compile are installed in the aux-directory. (handle_emacs_lisp): Likewise. Define elisp_comp. * lib/am/lisp.am (.el.elc): Use elisp_comp.
Tom Tromey 9aa84072 2001-07-16T16:19:38 Fix for PR automake/212: * lib/am/lisp.am (install-%DIR%LISP): Added missing `\'. (uninstall-%DIR%LISP): Likewise.
Tom Tromey 9539d6ee 2001-06-15T01:37:37 Fix some lisp bugs reported by Bruno Haible: * lib/am/lisp.am (uninstall-%DIR%LISP): Added DESTDIR to the echo. (install-%DIR%LISP): Handle case where lispdir is not defined. (uninstall-%DIR%LISP): Likewise. (.el.elc): Added `else' clause.
Akim Demaille 6037a7bc 2001-04-09T14:46:45 * automake.in (&rule_define): When you discover a suffix rules, register the extensions for .SUFFIXES. (&handle_texinfo): Don't register the suffixes. (&get_object_extension): Don't register suffixes, let them be discovered in depend2.am. (&handle_emacs_lisp): Depend on your lisp.am. * lisp.am: Include the rule &handle_emacs_lisp used to output.
Akim Demaille 8b9e044f 2001-04-09T14:23:09 * automake.in (&am_install_var): Transform DIST, and let the *.am files handle DIST_COMMON. * data.am, header.am, java.am, list.am, python.am, script.am: Set DIST_COMMON.
Akim Demaille 40787818 2001-04-09T09:50:33 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am, * progs.am, python.am: Use if/endif instead of ?INSTALL?. * java.am (_am_installdirs): Be sure to set it.
Akim Demaille a939c6ff 2001-03-05T18:47:49 * automake.in (&handle_programs, &handle_libraries, &handle_tags) (&handle_ltlibraries, &handle_emacs_lisp, &handle_python): Adjust. (&am_install_var): Forget about `-clean'. Transform ?INSTALL?. Always output the *.am file. * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am, * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am: Remove, merged into the corresponding *.am file. * data.am, libs.am, ltlib.am, progs.am, python.am: Equip with ?INSTALL?.
Akim Demaille e8133bcf 2001-02-27T09:12:42 Distinguish automake substitutions from config.status substitutions. * automake.in (&add_depend2): Transform AMDEP. (&handle_clean): Transform MCFILES and MFILES. (&file_contents): Transform MAINTAINER_MODE. (&transform, &am_install_var): Use `%', not `@'. Adjust all the *.am files. * clean.am: Use ?MFILES? instead of ad hoc MAINTAINERCLEAN. * depend2.am: Display the double dependency on both ?AMDEP? and @AMDEP@.
Akim Demaille f722556f 2001-02-26T09:14:43 * automake.in (@installdirs): Remove. (&file_contents): Be able to grow Automake macros with `+='. (&handle_texinfo, &handle_man_pages, &am_install_var): Let your files define _am_installdirs. (&handle_installdirs): Remove the code, just output `install.am'. * install.am: New. * data.am, header.am, libs.am, lisp.am, ltlib.am, mans.am, progs.am, * python.am, scripts.am, texinfos.am: Extend $(_am_installdirs).
Akim Demaille b8a2f0f9 2001-02-25T18:04:29 * automake.in (&handle_texinfo, &handle_man_pages, &am_install_var): Don't deal with install-data-am, install-exec-am and unstall-am. (&initialize_per_input): Add them to %dependencies. Remove %exec_dir_p since the *.am files are now in charge of it. Remove @uninstall, @install_data, @install_exec. (&handle_merge_targets): Adjust to these removals. (&file_contents): Also &transform_cond for --no-installman and --no-installinfo. (&do_one_merge_target): Add some magic to install hooks on %dependencies' targets. (%required_targets): New. (&handle_factored_dependencies): Output required targets. * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am, * mans-vars.am, mans.am, progs.am, python.am, scripts.am, * texinfos.am: Declare your dependencies on install-data-am, install-exec-am and uninstall-am. * tests/instdata2.test (incldata_HEADERS): New test.
Akim Demaille 876f65e3 2001-02-23T15:06:52 * automake.in: Formatting and mying changes.
Akim Demaille 4ec2083b 2001-02-09T03:38:16 * automake.in (&transform): Use `my', not `local'. (&transform_cond): New. (&get_object_extension, &handle_texinfo, &handle_tags) (&handle_dist_worker, &handle_dist, &add_depend2, &handle_clean) (&handle_tests_dejagnu): Use it. * texinfos.am, lisp.am, header.am, dist.am, distdir.am, depend2.am * dejagnu.am, data.am, clean.am: Adjust to the new syntax.
Tom Tromey b46ae388 2001-02-08T06:36:14 * lisp.am (install-@DIR@LISP): Removed extra space. * header.am (install-@DIR@HEADERS): Removed extra space. * data.am (install-@DIR@DATA): Removed extra space.
Akim Demaille a2c34841 2000-10-16T09:01:36 * aclocal.in, aclocal.m4: Standardize FSF Copyright statements. * automake.in, automake.texi: Likewise. * clean-kr.am, clean.am: Likewise. * comp-vars.am: Likewise. * compile, compile.am: Likewise. * data-clean.am: Likewise. * data.am: Likewise. * dejagnu.am: Likewise. * depcomp: Likewise. * depend.am, depend2.am: Likewise. * dist-vars.am, dist.am: Likewise. * elisp-comp: Likewise. * footer.am: Likewise. * header-vars.am, header.am: Likewise. * java-clean.am java.am: Likewise. * kr-extra.am: Likewise. * library.am: Likewise. * libs-clean.am, libs.am: Likewise. * libtool.am: Likewise. * lisp-clean.am lisp.am: Likewise. * ltlib-clean.am ltlib.am: Likewise. * ltlibrary.am: Likewise. * m4/Makefile.in: Likewise. * m4/strtod.m4: Likewise. * mans-vars.am, mans.am: Likewise. * mdate-sh: Likewise. * missing: Likewise. * multilib.am: Likewise. * program.am: Likewise. * progs-clean.am, progs.am: Likewise. * python-clean.am, python.am: Likewise. * remake-hdr.am, remake.am: Likewise. * scripts.am: Likewise. * subdirs.am: Likewise. * tags-clean.am, tags.am: Likewise. * texi-vers.am: Likewise. * texinfos.am: Likewise. * ylwrap: Likewise.
Tom Tromey 4dcad717 2000-07-28T17:11:11 * lisp.am (uninstall-@DIR@LISP): Prefix file with $(DESTDIR). From Bruno Haible.
Tom Tromey 7e326d1c 1999-12-19T04:09:23 Partial fix for PR automake/40: * lisp.am (install-@DIR@LISP): Handle nobase_ case. (uninstall-@DIR@LISP): Likewise. * header.am (install-@DIR@HEADERS): Handle nobase_ case. (uninstall-@DIR@HEADERS): Likewise. * data.am (install-@DIR@DATA): Handle nobase_ case. (uninstall-@DIR@DATA): Likewise. * automake.in (am_primary_prefixes): Recognize `nobase_' prefix. (am_install_var): Recognize and handle `nobase_' prefix.
Tom Tromey aecaf575 1999-04-16T14:02:20 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.
Tom Tromey 6921e816 1999-03-27T00:28:05 * scripts.am (install-@DIR@SCRIPTS): Use NDIR when appropriate. (uninstall-@DIR@SCRIPTS): Likewise. * progs.am (install-@DIR@PROGRAMS): Use NDIR when appropriate. (uninstall-@DIR@PROGRAMS): Likewise. * ltlib.am (install-@DIR@LTLIBRARIES): Use NDIR when appropriate. (uninstall-@DIR@LTLIBRARIES): Likewise. * lisp.am (install-@DIR@LISP): Use NDIR when appropriate. (uninstall-@DIR@LISP): Likewise. * libs.am (install-@DIR@LIBRARIES): Use NDIR when appropriate. (uninstall-@DIR@LIBRARIES): Likewise. * java.am (install-@DIR@JAVA): Use NDIR when appropriate. (uninstall-@DIR@JAVA): Likewise. * header.am (install-@DIR@HEADERS): Use NDIR when appropriate. (uninstall-@DIR@HEADERS): Likewise. * data.am (install-@DIR@DATA): Use NDIR when appropriate. (uninstall-@DIR@DATA): Likewise. * Makefile.in: Rebuilt. * Makefile.am (dist_pkgdata_DATA): Renamed. (EXTRA_DIST): Removed. (install-data-hook): Added POST_INSTALL; print commands as they are run; respect DESTDIR. * dist-vars.am (DISTFILES): Removed $(HEADERS). * automake.in (am_install_var): Accept `-candist' and `-defaultdist' options. Handle `dist_' and `nodist_' prefixes. (am_primary_prefixes): Added can_dist argument. Recognize `dist_' and `nodist_' prefixes. (handle_scripts): Pass -candist to am_install_var. (handle_data): Pass -defaultdist to am_install_var. (handle_headers): Likewise. (handle_emacs_lisp): Pass -candist to am_install_var. (handle_java): Pass -candist to am_install_var.
Tom Tromey a85ba428 1999-03-26T21:57:32 * automake.in (am_install_var): Removed obsolete comment. * texinfos.am (uninstall-info): Don't print loop but instead print commands. Simplified pre-uninstall loop. * scripts.am (uninstall-@DIR@SCRIPTS): Don't print loop but instead print commands. * progs.am (uninstall-@DIR@PROGRAMS): Don't print loop but instead print commands. * ltlib.am (uninstall-@DIR@LTLIBRARIES): Don't print loop but instead print commands. * lisp.am (install-@DIR@LISP): Strip subdir from file name. (uninstall-@DIR@LISP): Likewise. Also, don't print loop but instead print commands. * libs.am (uninstall-@DIR@LIBRARIES): Don't print loop but instead print commands. * java.am (uninstall-@DIR@JAVA): Don't print loop but instead print commands. * header.am (install-@DIR@HEADERS): Strip subdir from file name. (uninstall-@DIR@HEADERS): Likewise. Also, don't print loop but instead print commands. * data.am (install-@DIR@DATA): Strip subdir from file name. (uninstall-@DIR@DATA): Likewise. Also, don't print loop but instead print commands.
Tom Tromey 972f0741 1998-03-25T22:25:26 lisp files can be built
Tom Tromey 660081d8 1998-03-20T20:09:08 added DESTDIR support
Tom Tromey daca6bcd 1998-02-24T19:37:24 reimplemented man pages
Tom Tromey 4119bfe6 1997-04-02T07:53:36 quoting fix from Per
Tom Tromey c7b17270 1997-03-28T00:30:30 another _INSTALL var fix
Tom Tromey 430d000d 1997-03-26T05:57:50 follow GNU standards
Tom Tromey 1b10e923 1997-02-21T07:50:43 many fixes
Tom Tromey 12014054 1996-12-08T21:05:11 installs now 'quiet'
Tom Tromey 42d354d3 1996-10-17T20:16:33 lisp bug fixes
Tom Tromey 27e2dcc0 1996-09-04T01:56:37 Standards conformance
Tom Tromey b4e30969 1996-06-02T22:00:38 Added Emacs Lisp handling