[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Automake-NG] [PATCH 12/14] [ng] refactor: prefer '&file_contents' over
From: |
Stefano Lattarini |
Subject: |
[Automake-NG] [PATCH 12/14] [ng] refactor: prefer '&file_contents' over '&file_contents_internals' |
Date: |
Thu, 21 Jun 2012 12:32:43 +0200 |
No semantic change intended.
* automake.in (handle_compile): Here.
Signed-off-by: Stefano Lattarini <address@hidden>
---
automake.in | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/automake.in b/automake.in
index e12cd92..4354c25 100644
--- a/automake.in
+++ b/automake.in
@@ -2213,13 +2213,9 @@ sub check_canonical_spelling
sub handle_compile ()
{
return if ! $must_handle_compiled_objects;
-
- my ($coms, $vars, $rules) =
- &file_contents_internal (1, "$libdir/am/compile.am",
- new Automake::Location,
- 'STDINC' => ! option 'nostdinc');
- $output_vars .= $vars;
- $output_rules .= "$coms$rules";
+ $output_rules .= file_contents ('compile',
+ new Automake::Location,
+ 'STDINC' => ! option 'nostdinc');
}
# handle_libtool ()
--
1.7.9.5
- Re: [Automake-NG] [PATCH 11/14] [ng] cleanup: merge '%compile_clean_files' in '%clean_files', (continued)
- [Automake-NG] [PATCH 09/14] [ng] clean: don't remove object files in '.' unconditionally, Stefano Lattarini, 2012/06/21
- [Automake-NG] [PATCH 07/14] [ng] refactoring: move definition of $(am__mv) in depend2.am, Stefano Lattarini, 2012/06/21
- [Automake-NG] [PATCH 10/14] [ng] refactoring: no "cleaning" rules in compile.am, Stefano Lattarini, 2012/06/21
- [Automake-NG] [PATCH 12/14] [ng] refactor: prefer '&file_contents' over '&file_contents_internals',
Stefano Lattarini <=
- [Automake-NG] [PATCH 14/14] [ng] check: keep cleaning of '.log' and '.trs' files near other rules, Stefano Lattarini, 2012/06/21
- [Automake-NG] [PATCH 13/14] [ng] cleanup: remove 'libtool.am', Stefano Lattarini, 2012/06/21
- [Automake-NG] [PATCH 15/14] [ng] cleanup: remove 'clean-hdr.am', Stefano Lattarini, 2012/06/21
- [Automake-NG] [PATCH 16/14] [ng] clean: drop minor DOS-related cruft in libtool support, Stefano Lattarini, 2012/06/21