From ce4f06238d2fde40958f4089921d332426f8be4e Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Tue, 7 Sep 2010 05:12:00 +0000 Subject: [PATCH] Removed custom Makefile rule for silent compilation and now using AM_SILENT_RULES --- configure.ac | 2 +- src/Makefile.am | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/configure.ac b/configure.ac index e735d81..123d85c 100644 --- a/configure.ac +++ b/configure.ac @@ -7,9 +7,9 @@ AC_CONFIG_SRCDIR(src/wmnotify.c) AM_CONFIG_HEADER(config.h:config-h.in) dnl Checking if the NEWS file has been updated to reflect the current version. AM_INIT_AUTOMAKE(check-news) +AM_SILENT_RULES([yes]) dnl Testing the C compiler. -dnl AC_PROG_CC AM_PROG_CC_C_O AC_LANG_C diff --git a/src/Makefile.am b/src/Makefile.am index d4ed91c..a21af49 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -13,13 +13,3 @@ MAINTAINERCLEANFILES = Makefile.in # we want these in the dist tarball EXTRA_DIST = - -# This rule is used to bypass the default rule which is generated by Automake, in order -# to get rid of all the cluttered informations that are displayed by Make before -# calling the compiler like in the following example: -# source='programming.c' object='programming.o' libtool=no \ -# depfile='.deps/programming.Po' tmpdepfile='.deps/programming.TPo' \ -# depmode=gcc3 /bin/sh ../config/depcomp \ -# gcc -DHAVE_CONFIG_H -I. -I. -I.. -c `test -f 'main.c' || echo './'`main.c -.c.o: - $(COMPILE) -c $< -- 2.20.1