lib/am/clean.am


Log

Author Commit Date CI Message
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 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
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 bd2020fc 2002-08-24T20:43:02 * automake.in (CLEAN, MAINTAINER_CLEAN): New constants. (maintainer_clean_files): Replace by ... (clean_files): ... this new variable. (initialize_per_input, lang_yacc_target_hook, lang_lex_target_hook): Use %clean_files instead of @maintainer_clean_files. (handle_clean): Rewrite, using %clean_files. (require_build_directory_maybe): Use %clean_files instead of %compile_clean_files. This allows using &require_build_directory_maybe for non-compiling targets. * lib/am/clean.am (mostlyclean-generic, clean-generic, distclean-generic, maintainer-clean-generic): Rewrite using %MOSTLYCLEAN_RMS%, %CLEAN_RMS%, %DISTCLEAN_RMS%, and %MAINTAINER_CLEAN_RMS%.
Alexandre Duret-Lutz 0292a032 2002-05-06T19:10:42 Erase stamps from the Makefile that generates them. * automake.in (handle_configure): Append each used stamp to @distclean_config. Don't warn about stamp-h in AC_OUTPUT, this file is not used anymore. * lib/am/clean.am (distclean-generic): Don't erase stamp-h and stamp-h[0-9]*. * tests/subdir6.test: New file. * tests/Makefile.am (TESTS): Add it.
Tom Tromey 0d43099b 2001-05-17T03:02:38 * tests/Makefile.am (TESTS): Removed maintclean.test. * lib/am/clean.am (maintainer-clean-generic): Don't remove Makefile.in. * lib/am/configure.am (maintainer-clean-am): Removed. (maintainer-clean-conf): Removed. * tests/maintclean.test: Removed.
Tom Tromey e00a9898 2001-05-16T04:32:09 Fix for maintclean.test: * tests/Makefile.am (XFAIL_TESTS): Removed maintclean.test. * lib/am/clean.am (distclean-generic): Don't remove config.cache or config.log. (distclean, maintainer-clean): Moved to... * lib/am/configure.am: ... here. (distclean): Remove config.cache and config.log. (maintainer-clean): Removed. (maintainer-clean-conf): New target. (maintainer-clean-am): New target.
Akim Demaille 6ed11d3c 2001-04-09T09:55:12 * automake.in (&make_paragraphs): Transform TOPDIR_P and TOPDIR. (&handle_dist): Don't. (&handle_clean): Don't handle config.status here, let... * clean.am: ... do it. * distdir.am: Adjust.
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 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.
Akim Demaille de7f0818 2001-02-06T10:17:57 * subdirs.am: This file is the exception: clean recursive targets are called by the clean targets, not the clean-am targets. Otherwise we have a circular dependency: clean -> clean-am -> clean-recursive -> clean. * automake.in (handle_clean): Bind `-local' targets to `-am' targets, not top targets. Don't declare -recursive dependencies of the clean targets: `subdirs.am' did it. Less hard coded knowledge, transfered into... * clean.am: here.
Akim Demaille 8a34b58d 2001-02-06T09:09:36 Monstro unsplitable patch. The aim is to remove hard coded knowledge about clean targets from automake.in, leaving them in the *.am files. In addition to the mechanic needed to factor some dependencies, it appears some rules (most notably distclean and maintainer-clean) need factored actions. So first, be ready to catch factored rules. * automake.in (&file_contents): For the time being, use an extended $RULE_PATTERN which is able to match any kind of rules, with or without dependency, with or without actions. Handle all the rules uniformly, storing in %actions the factored actions. (&flatten, &target_cmp): New. (&handle_factored_dependencies): Output the %actions. No longer special case `clean'. Output the rules in alphabetical order, but keeping `.PHONY' last. Now we must not use &push_phony_cleaners, which is doing all sort of magic to push a bit of everything in all the clean targets. The biggest problem being that, making a Cartesian product, it requires many useless targets. The `*.am' file know better. But first, register the new factored rules. * automake.in (&initialize_per_input): Include clean, mostlyclean, maintainer-clean, distclean and their `*-am' counterpart in %dependencies. Initialize %actions. (get_object_extension, handle_texinfo, handle_tags, handle_multilib) handle_dependencies, handle_subdirs, handle_configure, handle_clean) (handle_emacs_lisp, handle_python): Don't play with &push_phony_cleaners nor &depend and `clean'. * texinfos.am, texi-vers.am, tags-clean.am: * subdirs.am,python-clean.am, multilib.am, lisp-clean.am: * libtool.am, kr-extra.am, depend.am, compile.am, clean.am: * clean-kr.am, clean-hdr.am: Do it. Whenever a target is empty, just remove it, it will no longer be called. There is still some magic about clean to hard code. But really, that's the end of &do_one_clean_target. * automake.in (&do_one_clean_target): Kaboom out. (&handle_clean): Rewrite the magic code. (&am_install_var): No longer use &push_phony_cleaners, nor depend on `clean'. (&push_phony_cleaners): Kaboom too.
Akim Demaille 279adc2a 2001-02-06T09:08:56 * automake.in (do_one_clean_target): Don't hard code knowledge about libtool, and maintainer-clean. * clean.am, libtool.am: Handle these.
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 ae12de54 1999-11-08T01:21:28 * clean.am (maintainer-clean-generic): Remove Makefile.in. From Jeff Bailey
Tom Tromey 38113a0b 1998-08-11T18:52:49 typo fix in clean.am
Tom Tromey 5f2c1350 1998-06-01T21:12:08 "clean" cleanup
Tom Tromey 8551a9bd 1997-09-25T04:56:27 bug fix for bsd/ultrix
Tom Tromey ae84476e 1997-04-30T21:26:07 fix from ian
Tom Tromey 54c01922 1996-09-20T15:55:22 Allow config.h in subdir; other config.h cleanups
Tom Tromey 6e89d0af 1996-09-12T05:58:41 Gnits standards compliance
Tom Tromey 0f51c5ec 1996-08-11T18:13:36 Remove generated files at clean time
Tom Tromey e7581873 1996-07-05T14:29:12 Bug fix for Solaris 2.4
Tom Tromey 13e929e9 1996-01-12T06:48:19 Added AUTOMAKE_OPTIONS Fixes from Franc,ois
Tom Tromey e398ecd9 1996-01-06T20:10:14 Patches from Jim Meyering. Put copyright in all files
Tom Tromey 3aba9acd 1996-01-02T02:20:18 Many changes from Franc,ois
Tom Tromey bcbf9df2 1995-12-09T17:36:33 Minor bug and doc fixes
Tom Tromey 9eb2ffa7 1995-12-05T06:16:51 Many cleanups. Added --strictness option.
Tom Tromey d090b70b 1995-12-03T06:12:34 Handle installcheck. Handle ## comments. Fixlets
Tom Tromey 1b57ec99 1995-11-30T00:35:21 (MOSTLYCLEANFILES, MAINTAINERCLEANFILES): New variables.
Tom Tromey 1a61d12d 1995-11-29T06:05:02 (clean-generic): Always supply 'else' clause to 'if'
Tom Tromey 96708872 1995-11-29T03:31:53 (clean-generic): Bug fix.
Tom Tromey bacac1d8 1995-11-29T03:30:47 (clean-generic): Only remove CLEANFILES if nonempty
Tom Tromey da89ebc4 1995-11-28T07:00:19 Use -generic clean targets.
Tom Tromey 19b00280 1995-11-12T18:17:11 (maintainer-clean): Updated rules per GNU standards.
Tom Tromey 529a02d4 1995-11-12T18:12:49 (maintainer-clean): Renamed from realclean.
David J. MacKenzie 29a05020 1994-11-03T13:33:44 remove INFOS
David J. MacKenzie ce41f866 1994-10-02T01:50:24 fix up distclean
David J. MacKenzie 8f8ed19f 1994-10-02T01:30:33 do more in distclean
David J. MacKenzie f5f39362 1994-09-26T14:24:58 move knr stuff to another file
David J. MacKenzie d61e936c 1994-09-20T20:51:41 make libprograms work
David J. MacKenzie 9ead5c44 1994-09-20T02:34:39 remove kerb temps
David J. MacKenzie c0aa7bd8 1994-09-19T22:44:25 works on fileutils except for all
David J. MacKenzie c20ca442 1994-09-19T16:20:04 might work
David J. MacKenzie ddb3d5fc 1994-09-19T15:12:26 Initial revision