[libIDL] * Makefile.am:



commit 7473a1a4893e94f97a8a9763f5239e8f3d343793
Author: Christian Persch <chpe gnome org>
Date:   Mon Oct 12 20:52:21 2009 +0200

    	* Makefile.am:
    	* configure.in: Enable silent build rules.

 ChangeLog    |    5 +++++
 Makefile.am  |   13 ++++++++-----
 configure.in |    2 ++
 3 files changed, 15 insertions(+), 5 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index a8de903..0dde569 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-10-12  Christian Persch  <chpe gnome org>
+
+	* Makefile.am:
+	* configure.in: Enable silent build rules.
+
 2009-09-01  Vincent Untz  <vuntz gnome org>
 
 	* AUTHORS: update, after request from Andrew T. Veliath.
diff --git a/Makefile.am b/Makefile.am
index 39b1c22..99bd2fd 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -8,6 +8,9 @@ export_symbols = -export-symbols libIDL.def
 endif
 
 SUBDIRS = include
+
+DISTCHECK_CONFIGURE_FLAGS = --disable-silent-rules
+
 INCLUDES =                             \
 	-DYYDEBUG=1                    \
 	-DYYERROR_VERBOSE=1            \
@@ -20,17 +23,17 @@ YFLAGS = -d -v 2>/dev/null
 
 lexer.c: $(srcdir)/lexer.l parser.h
 	@rm -f $@
-	$(LEX) $(LFLAGS) -t $(srcdir)/lexer.l | sed -e 's/yy/__IDL_/g' >$@
+	$(AM_V_GEN) $(LEX) $(LFLAGS) -t $(srcdir)/lexer.l | sed -e 's/yy/__IDL_/g' >$@
 
 stamp-parser: $(srcdir)/parser.y
-	$(YACC) $(YFLAGS) $(srcdir)/parser.y
-	touch $@
+	$(AM_V_GEN) $(YACC) $(YFLAGS) $(srcdir)/parser.y
+	@touch $@
 
 parser.c: stamp-parser
-	test -f y.tab.c && mv -f y.tab.c parser.c || touch $@
+	$(AM_V_GEN) test -f y.tab.c && mv -f y.tab.c parser.c || touch $@
 
 parser.h: stamp-parser
-	test -f y.tab.h && mv -f y.tab.h parser.h || touch $@
+	$(AM_V_GEN) test -f y.tab.h && mv -f y.tab.h parser.h || touch $@
 
 MOSTLYCLEANFILES	= parser.output y.output
 
diff --git a/configure.in b/configure.in
index 250b821..2c435ef 100644
--- a/configure.in
+++ b/configure.in
@@ -27,6 +27,8 @@ AC_CONFIG_SRCDIR([include/libIDL/IDL.h.in])
 
 AM_INIT_AUTOMAKE([1.9 no-define no-dist-gzip dist-bzip2])
 
+m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
+
 AC_SUBST(LIBIDL_MAJOR_VERSION, [libidl_major_version])
 AC_SUBST(LIBIDL_MINOR_VERSION, [libidl_minor_version])
 AC_SUBST(LIBIDL_MICRO_VERSION, [libidl_micro_version])



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