automake
[Top][All Lists]
Advanced

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

Re: silent installs


From: Joakim Tjernlund
Subject: Re: silent installs
Date: Fri, 29 Jan 2010 12:19:42 +0100

"Alfred M. Szmidt" <address@hidden> wrote on 2010/01/29 11:59:51:
>
>    > And there are many examples of the opposite where less verbose
>    > output is useful, automake already supports silent compilation.
>    > I know that
>
>    Yes, but automake --silent is a different tool, perhaps it should
>    learn suppress the install mgs as well as other libtool msgs such
>    as relinking as finish msgs?
>
> I was refering to AM_SILENT_RULES, which supresses `make all' output;
> so this is not a very controversial topic, it is already in automake
> and used by several projects.  Would you like to work on this feature?
> The maintainers can't accept a patch that doesn't exist after all...

I am afraid I not very handy with the program language skills needed
for this. The best I can do is a small patch to ltmain.sh for
the most trivial part. Getting rid of the install msgs is over my head.


Index: ltmain.sh
===================================================================
--- ltmain.sh   (revision 57662)
+++ ltmain.sh   (working copy)
@@ -2028,7 +2028,7 @@
            relink_command=`$ECHO "X$relink_command" | $Xsed -e 
"address@hidden@%%"`
          fi

-         func_warning "relinking \`$file'"
+         $opt_silent || func_warning "relinking \`$file'"
          func_show_eval "$relink_command" \
            'func_fatal_error "error: relink \`$file'\'' with the above command 
before installing it"'
        fi
@@ -2269,7 +2269,7 @@
     done

     test -n "$future_libdirs" && \
-      func_warning "remember to run \`$progname --finish$future_libdirs'"
+      !$opt_silent && func_warning "remember to run \`$progname 
--finish$future_libdirs'"

     if test -n "$current_libdirs"; then
       # Maybe just do a dry run.





reply via email to

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