[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Automake-commit] [SCM] GNU Automake branch, experimental/ng/cleanup-rev
From: |
Stefano Lattarini |
Subject: |
[Automake-commit] [SCM] GNU Automake branch, experimental/ng/cleanup-revamp, created. v1.12.1-445-gc159a0e |
Date: |
Thu, 21 Jun 2012 10:28:09 +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=c159a0e77cf25ef8ca07e70bc12ad01e924cea58
The branch, experimental/ng/cleanup-revamp has been created
at c159a0e77cf25ef8ca07e70bc12ad01e924cea58 (commit)
- Log -----------------------------------------------------------------
commit c159a0e77cf25ef8ca07e70bc12ad01e924cea58
Author: Stefano Lattarini <address@hidden>
Date: Thu Jun 21 12:27:06 2012 +0200
[ng] check: keep cleaning of '.log' and '.trs' files near other rules
* lib/am/parallel-tests.am: Add $(am__test_results), $(am__test_logs)
and $(TEST_SUITE_LOGS) to the list of files removed by "make mostlyclean"
here ...
* automake.in (handle_tests): ... rather than here.
Signed-off-by: Stefano Lattarini <address@hidden>
commit 7b66023f21f2787168c26a3474b335a36deb0805
Author: Stefano Lattarini <address@hidden>
Date: Thu Jun 21 10:38:01 2012 +0200
[ng] cleanup: remove 'libtool.am'
It's so small and dumb that it's easier and cleaner to just inline
it in the automake script.
* lib/am/libtool.am: Delete.
* Makefile.am (dist_am_DATA): Remove it.
* automake.in (handle_libtool): Just add the list of all the '.libs'
directories to '%libtool_clean_directories', instead of processing the
now-removed 'libtool.am' to obtain the same effect. Similarly, when
processing the Makefile in the top-level directory, add 'libtool' and
'config.lt' to '%clean_files'.
Signed-off-by: Stefano Lattarini <address@hidden>
commit 126bad6d188b46393d2b015528bdfa538814fb11
Author: Stefano Lattarini <address@hidden>
Date: Thu Jun 21 10:21:10 2012 +0200
[ng] refactor: prefer '&file_contents' over '&file_contents_internals'
No semantic change intended.
* automake.in (handle_compile): Here.
Signed-off-by: Stefano Lattarini <address@hidden>
commit 9c6a0ced5254c21daf481a5bc99d1274354c9003
Author: Stefano Lattarini <address@hidden>
Date: Thu Jun 21 09:51:35 2012 +0200
[ng] cleanup: merge '%compile_clean_files' in '%clean_files'
No need to keep them separated anymore.
* automake.in (%compile_clean_files): Delete.
(initialize_per_input): Don't reset it.
(handle_compile): Don't merge '%compile_clean_files'
contents into '%clean_files'.
(handle_single_transform): Update '%clean_files', not
'%compile_clean_files'.
(handle_LIBOBJS_or_ALLOCA): Likewise.
Signed-off-by: Stefano Lattarini <address@hidden>
commit f47b6b0820efa1bc867293129c54ba895942440e
Author: Stefano Lattarini <address@hidden>
Date: Thu Jun 21 02:10:54 2012 +0200
[ng] refactoring: no "cleaning" rules in compile.am
* automake.in (handle_compile): To ensure the compiled objects are
removed, simply merge the contents of '%compile_clean_files' into
'%clean_files' here, instead of ...
* lib/am/compile.am (am__mostlyclean_files): ... appending them to
this variable here. While we are at it, remove a stray declaration
of the already-deleted target 'mostlyclean-compile' as ".PHONY".
Signed-off-by: Stefano Lattarini <address@hidden>
commit 01e160c612f3d9f0938be00bbbbad32a6601f953
Author: Stefano Lattarini <address@hidden>
Date: Thu Jun 21 02:01:11 2012 +0200
[ng] clean: don't remove object files in '.' unconditionally
Do that only if some source file is actually present in the current
directory (which might not be the case for, say, projects that use
a non-recursive make setup and have all sources in the 'src' and 'lib'
subdirectories).
* lib/am/compile.am (am__mostlyclean_files): Don't append '*.$(OBJEXT)'
unconditionally.
* lib/am/libtool.am (am__mostlyclean_files): Don't append '*.lo'
unconditionally.
* automake.in (handle_single_transform): Update '%compile_clean_files'
also for sources in the current directory. Some related adjustments.
Remove obsolete comments while we are at it.
(handle_LIBOBJS_or_ALLOCA): Update '%compile_clean_files' to list
all the object files in the directory of the extra sources brought
in. Adjust comments accordingly.
Signed-off-by: Stefano Lattarini <address@hidden>
commit fda77bb7e069c54f9bc1c4771b67173216dbe37e
Author: Stefano Lattarini <address@hidden>
Date: Thu Jun 21 01:38:50 2012 +0200
[ng] cleanup: remove 'depend.am'
It's so small and dumb that it's easier and cleaner to just inline
it in the automake script.
* lib/am/depend.am: Delete.
* Makefile.am (dist_am_DATA): Remove it.
* automake.in (handle_languages): Just add the list of all the '.deps'
directories to %clean_dirs, instead of processing the now-removed
'depend.am' to obtain the same effect.
Signed-off-by: Stefano Lattarini <address@hidden>
commit 7559ad3a3c84cb35b1701c232787de97526ec7c0
Author: Stefano Lattarini <address@hidden>
Date: Thu Jun 21 01:27:15 2012 +0200
[ng] refactoring: move definition of $(am__mv) in depend2.am
A tiny refactoring only needed by the subsequent change.
* lib/am/depend.am (am__mv): Move definition ...
* lib/am/depend2.am [%?FIRST%]: ... here, with a new explicative
comment.
Signed-off-by: Stefano Lattarini <address@hidden>
commit 2e22f4d97422930db1e791f79c51135c8580ffc6
Author: Stefano Lattarini <address@hidden>
Date: Thu Jun 21 01:10:14 2012 +0200
[ng] automake: new global variable '%clean_dirs'
Similar to the '%clean_files' variable, but it will allow us to declare
directories (rather than regular files) that are to be cleaned by the
four flavours of cleaning targets ('mostlyclean', 'clean', 'distclean',
'maintainer-clean'). This will be especially useful in later changes.
* automake.in (%clean_dirs): New global.
(%clan_dirs): Reset it.
* automake.in (handle_clean), lib/am/clean.am: Extend to clean the
directories registered in '%clean_dirs'.
Signed-off-by: Stefano Lattarini <address@hidden>
commit ce3ca2125f4585472100870187f7c41aaeedded7
Author: Stefano Lattarini <address@hidden>
Date: Sat Jun 2 15:36:55 2012 +0200
[ng] clean: do not ignore errors while removing files
Possible culprits have been identified with the command "git grep '-rm\b'".
* NG-NEWS: Update.
* lib/am/tags.am, lib/am/distdir.am, lib/am/dejagnu.am, lib/am/clean.am: Do
not invoke "rm" when the "-" recipe modifier: we now want the cleaning
recipes to fail if rm encounters an error.
Signed-off-by: Stefano Lattarini <address@hidden>
commit 817a5d56087932c16c233ff2b3a0ab0972cbcc6c
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
can been appended to by our Makefile fragments to declare stuff that
should 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 84822aeabdbe5f08ded062621349509fb7eaf63c
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 1b7c50dad1227eb47ab5df145ee3884b0d02fd28
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 6e6ab844e117d56c8828276532fd45a3a38e10d8
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' files, 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>
commit ffc53e60412bf7df5c1c7ee68f11a10682b5499e
Merge: d1f62f1 7c6310c
Author: Stefano Lattarini <address@hidden>
Date: Wed Jun 20 18:50:28 2012 +0200
Merge branch 'master' into ng/master
* master:
bootstrap: overhaul and improve
docs: quote 'like this', not `like this'
fixup: tests: special requirement 'makeinfo-html' removed from ./defs
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, experimental/ng/cleanup-revamp, created. v1.12.1-445-gc159a0e,
Stefano Lattarini <=