From bbfe952f6c8f16bc8c8a266f7c2a6520ad8d6ebc Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Fri, 21 May 2010 15:54:01 -0600 Subject: Use quiet build and colored tests. --- configure.ac | 4 +++- dimension/Makefile.am | 28 ++++++++++++++-------------- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/configure.ac b/configure.ac index e783f7a..29dcfd2 100644 --- a/configure.ac +++ b/configure.ac @@ -15,10 +15,12 @@ dnl dnl You should have received a copy of the GNU General Public License dnl along with this program. If not, see . +dnl Initialization AC_PREREQ(2.65) AC_INIT(Dimension, 0.0.0, tavianator@gmail.com, dimension, [http://dmnsn.googlecode.com]) -AM_INIT_AUTOMAKE([parallel-tests]) +AM_INIT_AUTOMAKE([parallel-tests color-tests]) +AM_SILENT_RULES([yes]) dnl Use C99 mode with GNU extensions CFLAGS="-std=gnu99 $CFLAGS" diff --git a/dimension/Makefile.am b/dimension/Makefile.am index 6394c77..fdf6040 100644 --- a/dimension/Makefile.am +++ b/dimension/Makefile.am @@ -42,22 +42,22 @@ EXTRA_DIST = common.prologue \ grammar.epilogue grammar.y: grammar.prologue grammar.declarations grammar.nonterminals grammar.rules grammar.epilogue common.prologue common.declarations common.terminals common.nonterminals common.rules - echo "%{" >$@ - cat {common,grammar}.prologue >>$@ - echo "%}" >>$@ - cat common.terminals {grammar,common}.{declarations,nonterminals} >>$@ - echo "%%" >>$@ - cat grammar.rules common.rules >>$@ - echo "%%" >>$@ - cat grammar.epilogue >>$@ + @echo "%{" >$@ + @cat {common,grammar}.prologue >>$@ + @echo "%}" >>$@ + @cat common.terminals {grammar,common}.{declarations,nonterminals} >>$@ + @echo "%%" >>$@ + @cat grammar.rules common.rules >>$@ + @echo "%%" >>$@ + @cat grammar.epilogue >>$@ directives.y: directives.prologue directives.declarations directives.nonterminals directives.rules common.prologue common.declarations common.terminals common.nonterminals common.rules - echo "%{" >$@ - cat {common,directives}.prologue >>$@ - echo "%}" >>$@ - cat common.terminals {directives,common}.{declarations,nonterminals} >>$@ - echo "%%" >>$@ - cat directives.rules common.rules >>$@ + @echo "%{" >$@ + @cat {common,directives}.prologue >>$@ + @echo "%}" >>$@ + @cat common.terminals {directives,common}.{declarations,nonterminals} >>$@ + @echo "%%" >>$@ + @cat directives.rules common.rules >>$@ dimension_SOURCES = directives.y \ grammar.y \ -- cgit v1.2.3