URL:
  <http://gna.org/bugs/?15884>

                 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
                 Release: 
         Discussion Lock: Any
        Operating System: None
         Planned Release: 2.3.0

    _______________________________________________________

Details:

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'

Example:

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
defined
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

<http://gna.org/bugs/download.php?file_id=8977>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?15884>

_______________________________________________
  Meddelandet skickades via/av Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to