bug-automake
[Top][All Lists]
Advanced

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

reducing verbose dependencies output


From: Karl Berry
Subject: reducing verbose dependencies output
Date: Sat, 26 Oct 2002 19:13:24 -0400

Somewhere along the line, automake started outputting an if construct
for every compile, such as:

  if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl 
-DLOCALEDIR=\"/usr/local/share/locale\"    -g -MT html.o -MD -MP -MF 
".deps/html.Tpo" \
    -c -o html.o `test -f 'html.c' || echo './'`html.c; \
  then mv ".deps/html.Tpo" ".deps/html.Po"; \
  else rm -f ".deps/html.Tpo"; exit 1; \
  fi

This clutters the real output with the stuff about .deps.

Just as the install commands are faked to show the important command
without all the necessary sh scaffolding, I'd like to suggest that only
the actual compilation command be shown, as in
        @echo " $(compile)"
        @if $(compile); then mv ...; else rm ...; fi

Just a thought.

Thanks,
karl




reply via email to

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