Summary: Use AM_SILENT_RULES for easier to read build output
                 Project: Freeciv
            Submitted by: englabenny
            Submitted on: torsdag 2010-04-15 den 11:07
                Category: None
                Severity: 3 - Normal
                Priority: 1 - Later
                  Status: None
             Assigned to: englabenny
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: None
         Planned Release: 2.3.0



We can optionally enable an automake 1.11 feature called AM_SILENT_RULES.

* The build output is much sparser (one line per compiled file), and it
should be easier to see warnings or errors.
* You can have full build output using 'make V=1'


make[4]: Entering directory `/home/ulrik/pt/src/freeciv/freeciv.git/common'
  CC     ai.lo
  CC     base.lo
  CC     borders.lo
  CC     capstr.lo
  CC     city.lo
city.c:49: warning: ‘citylog_map_index’ declared ‘static’ but never
city.c:50: warning: ‘citylog_map_radius_sq’ declared ‘static’ but
never defined
  CC     combat.lo
  CC     connection.lo
  CC     dataio.lo
  CC     diptreaty.lo
  CC     effects.lo
  CC     events.lo
  CC     featured_text.lo
  CC     game.lo
  CC     government.lo

Patch for trunk attached. It can also be made available, but not default if
the [yes] is removed in the patch. It can then be enabled at configure time
or with 'make V=0'.

If automake older than 1.11 is used, this declaration is ignored and
everything works as before.


File Attachments:

Date: torsdag 2010-04-15 den 11:07  Name:
2010041501-Enable-AM_SILENT_RULES-by-default-where-availa.patch  Size: 761 B 
 By: englabenny



Reply to this item at:


  Meddelandet skickades via/av Gna!

Freeciv-dev mailing list

Reply via email to