[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Automake-commit] [SCM] GNU Automake branch, ng/experimental/cleanup-rev
From: |
Stefano Lattarini |
Subject: |
[Automake-commit] [SCM] GNU Automake branch, ng/experimental/cleanup-revamp, created. v1.12.1-297-g1f2080b |
Date: |
Sat, 02 Jun 2012 12:07:48 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Automake".
http://git.sv.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=1f2080b2c8535da17345af53b9216bcf3e021e97
The branch, ng/experimental/cleanup-revamp has been created
at 1f2080b2c8535da17345af53b9216bcf3e021e97 (commit)
- Log -----------------------------------------------------------------
commit 1f2080b2c8535da17345af53b9216bcf3e021e97
Author: Stefano Lattarini <address@hidden>
Date: Wed May 30 19:23:46 2012 +0200
[ng] clean: revamp recipes and APIs to extend cleaning rules
This change it introduces eight new internal variables, which our
Makefile fragments can append to to declare stuff to be cleaned upon
the various "make *clean" targets; these new variables are:
- am__mostlyclean_files, am__mostlyclean_dirs
- am__clean_files, am__clean_dirs
- am__distclean_files, am__distclean_dirs
- am__maintclean_files, am__maintclean_dirs
This change also ensures that the contents of the $(MOSTLYCLEANFILES),
$(CLEANFILES), $(DISTCLEANFILES) and $(MAINTAINERCLEANFILES) variables
will be cleaned even if those variables where not defined in the
Makefile.am (so that it is now possible to, e.g., define them in a
wrapper GNUmakefile including the Automake-generated Makefile, and
still have the relevant '*clean' targets remove them).
* am/clean.am (distclean): Revamp to implement the new API.
* lib/am/compile.am, lib/am/configure.am, lib/am/dejagnu.am,
lib/am/depend.am, lib/am/clean-hdr.am, lib/am/java.am, lib/am/libs.am,
lib/am/libtool.am, lib/am/lisp.am, lib/am/ltlib.am, lib/am/progs.am,
lib/am/tags.am, lib/am/texi-vers.am, lib/am/texinfos.am: Where possible
and easy, adjust to append to those variables instead of tweaking
or extending the various '*clean' or '*clean-am' targets or their
dependencies.
* automake.in (handle_compile, handle_libtool, handle_clean): Adjust.
* t/cleanvars.sh: New test.
* t/libtoo10.sh: Extend.
* t/libtool.sh, t/libtool2.sh: Remove as obsolete.
* syntax-checks.am: Extend to catch possible typos in the use of
the new variables (for example, it is easy to erroneously write
'am__cleanfiles' instead of 'am__clean_files').
Signed-off-by: Stefano Lattarini <address@hidden>
commit 415dbe46a93219ce34c3c4670b72e20df7fec2c9
Author: Stefano Lattarini <address@hidden>
Date: Wed May 30 18:57:18 2012 +0200
[ng] clean: simplify cleaning of compiled objects
* automake.in (handle_compile): Compiled objects are always to be
removed upon "make mostlyclean", and not (not even sometimes) upon
"make distclean". Simplify accordingly, removing the checks for a
condition that was never true.
* am/compile.am: Simplify accordingly, and do not bother cleaning
'*.tab.c' files, that shouldn't be left behind by Automake-generated
Makefiles anyway.
Signed-off-by: Stefano Lattarini <address@hidden>
commit 20d0ef308abfe7ccb94858ee4232d9309b1af1e2
Author: Stefano Lattarini <address@hidden>
Date: Wed May 30 16:35:34 2012 +0200
[ng] deptrack: clean depdirs using *clean-am targets
* lib/am/depend.am (am--clean-depdirs): New target, removing the
$(DEPDIR) directory.
(distclean, maintainer-clean): Renamed ...
(distclean-am, maintainer-clean-am): ... to these, and depend on the new
target above to clean the $(DEPDIR) directory. Given the current status
of the Automake internals, this shouldn't cause any change in the automake
behaviour, but the new form of these declarations will be useful in future
refactorings.
Signed-off-by: Stefano Lattarini <address@hidden>
commit bea56727c9a5e58d3ca2c0b050bab7786fce7e55
Author: Stefano Lattarini <address@hidden>
Date: Wed May 30 16:24:59 2012 +0200
[ng] deptrack: remove an obsolete comment
* lib/am/depend.am: Since in Automake-NG the generated Makefile calls
'-include', not 'include', on the dependency tracking '.Po' file, we can
remove them at any time without causing any 'make' call to fail.
Adjust a comment that was stating otherwise.
Signed-off-by: Stefano Lattarini <address@hidden>
-----------------------------------------------------------------------
hooks/post-receive
--
GNU Automake
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Automake-commit] [SCM] GNU Automake branch, ng/experimental/cleanup-revamp, created. v1.12.1-297-g1f2080b,
Stefano Lattarini <=