From: Sergey Poznyakoff Date: Tue, 26 Jan 2010 11:36:33 +0000 (+0200) Subject: Enable silent build mode. X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=c4acbdaa97d22ec7665aa66322708dc82ff20385;p=chaz%2Ftar Enable silent build mode. * configure.ac: Require automake 1.11, autoconf 2.63. Enable silent rules. * NEWS: Update. * lib/Makefile.am (rmt-command.h): Silent the rule. --- diff --git a/NEWS b/NEWS index 091df94..a6b55cb 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,4 @@ -GNU tar NEWS - User visible changes. 2010-01-24 +GNU tar NEWS - User visible changes. 2010-01-26 Please send GNU tar bug reports to @@ -1187,7 +1187,7 @@ Versions 1.07 back to 1.00 by Jay Fenlason. Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2003, -2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. This file is part of GNU tar. diff --git a/configure.ac b/configure.ac index 7521d64..382e4d8 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,8 @@ # Configure template for GNU tar. -*- autoconf -*- # Copyright (C) 1991, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, -# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free +# Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -22,8 +23,11 @@ AC_INIT([GNU tar], [1.22.90], [bug-tar@gnu.org]) AC_CONFIG_SRCDIR([src/tar.c]) AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_HEADERS([config.h]) -AC_PREREQ([2.60]) -AM_INIT_AUTOMAKE([1.9 gnits tar-ustar dist-bzip2 dist-shar std-options]) +AC_PREREQ([2.63]) +AM_INIT_AUTOMAKE([1.11 gnits tar-ustar dist-bzip2 dist-shar std-options silent-rules]) + +# Enable silent rules by default: +AM_SILENT_RULES([yes]) AC_PROG_CC AC_EXEEXT diff --git a/lib/Makefile.am b/lib/Makefile.am index fb49d43..4bfee8b 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -1,7 +1,7 @@ # Makefile for GNU tar library. -*- Makefile -*- # Copyright (C) 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2003, 2004, -# 2005, 2006, 2007, 2009 Free Software Foundation, Inc. +# 2005, 2006, 2007, 2009, 2010 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -19,11 +19,11 @@ noinst_LIBRARIES=libtar.a rmt-command.h : Makefile - rm -f $@-t $@ - echo "#ifndef DEFAULT_RMT_COMMAND" >> $@-t - echo "# define DEFAULT_RMT_COMMAND \"$(DEFAULT_RMT_DIR)/`echo rmt | sed '$(transform)'`$(EXEEXT)\"" >> $@-t - echo "#endif" >> $@-t - mv $@-t $@ + $(AM_V_GEN)rm -f $@-t $@ + $(AM_V_at)echo "#ifndef DEFAULT_RMT_COMMAND" >> $@-t + $(AM_V_at)echo "# define DEFAULT_RMT_COMMAND \"$(DEFAULT_RMT_DIR)/`echo rmt | sed '$(transform)'`$(EXEEXT)\"" >> $@-t + $(AM_V_at)echo "#endif" >> $@-t + $(AM_V_at)mv $@-t $@ BUILT_SOURCES = rmt-command.h CLEANFILES = rmt-command.h rmt-command.h-t INCLUDES = -I$(top_srcdir)/gnu -I../ -I../gnu