[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-349-g0201c15 |
Date: |
Thu, 31 May 2012 09:22:28 +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=0201c15e2f12c1fc086e8a02f001e32856c8283f
The branch, ng/experimental/cleanup-revamp has been created
at 0201c15e2f12c1fc086e8a02f001e32856c8283f (commit)
- Log -----------------------------------------------------------------
commit 0201c15e2f12c1fc086e8a02f001e32856c8283f
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 cc4d5bf6037a35bb855f837cee3f873a0996e075
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 fe15585c58e955094c3df04fcfb4fecd9c3258e1
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 c2724d42ecd0493b95f8d153472aa08e369c49a8
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-349-g0201c15,
Stefano Lattarini <=