automake-ng
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Automake-NG] [PATCH 24/26] [ng] texi: "de-prettify" makeinfo command li


From: Stefano Lattarini
Subject: [Automake-NG] [PATCH 24/26] [ng] texi: "de-prettify" makeinfo command line
Date: Sat, 16 Jun 2012 23:30:11 +0200

This will make some future changes easier.  And anyway, it's usually not
worth to add code complexity to have a slightly pretty output from make;
people who want pretty output should be using "make V=0" anyway ;-)

* automake.in (handle_texinfo_helper): Make definition of $makeinfoflags
less pretty but more easy.

Signed-off-by: Stefano Lattarini <address@hidden>
---
 automake.in |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/automake.in b/automake.in
index 1f12093..e4001b6 100644
--- a/automake.in
+++ b/automake.in
@@ -3007,10 +3007,7 @@ sub handle_texinfo_helper ($)
          push_dist_common ('$(' . $canonical . '_TEXINFOS)');
        }
 
-      my $sdir = dirname $texi;
-      my $makeinfoflags = ($sdir eq '.' && dirname ($out_file) eq '.')
-                           ? '-I $(srcdir)'
-                           : "-I $sdir -I \$(srcdir)/$sdir";
+      my $makeinfoflags = '-I $(@D) -I $(srcdir)/$(@D)';
 
       (my $dpfx = $out_file) =~ s/\.info$//;
       $output_rules .= file_contents ('texi-spec',
-- 
1.7.9.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]