clean.am


Log

Author Commit Date CI Message
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