From: Mark Wooding Date: Sat, 22 May 2010 12:49:44 +0000 (+0100) Subject: Build system: Use Automake 1.11 `silent-rules'. X-Git-Tag: 2.2.0~3 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/commitdiff_plain/3ac6fc5f908dde89522ba92946a0cb85aabd4bc1?ds=sidebyside Build system: Use Automake 1.11 `silent-rules'. --- diff --git a/Makefile.am b/Makefile.am index c50c505..5b393f7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -45,7 +45,8 @@ EXTRA_DIST += mLib.pc.in CLEANFILES += mLib.pc mLib.pc: mLib.pc.in Makefile - $(confsubst) $(srcdir)/mLib.pc.in >$@.new $(SUBSTITUTIONS) && \ + $(AM_V_GEN)$(confsubst) $(srcdir)/mLib.pc.in >$@.new \ + $(SUBSTITUTIONS) && \ mv $@.new $@ ###-------------------------------------------------------------------------- diff --git a/configure.ac b/configure.ac index 2444ac7..6fff8c6 100644 --- a/configure.ac +++ b/configure.ac @@ -32,6 +32,7 @@ AC_INIT([mLib], AUTO_VERSION, [mdw@distorted.org.uk], [mLib]) AC_CONFIG_SRCDIR([mLib.pc.in]) AC_CONFIG_AUX_DIR([config]) AM_INIT_AUTOMAKE([foreign]) +mdw_SILENT_RULES AC_PROG_CC AM_PROG_CC_C_O diff --git a/hash/Makefile.am b/hash/Makefile.am index 4ab562c..938b605 100644 --- a/hash/Makefile.am +++ b/hash/Makefile.am @@ -50,7 +50,7 @@ $(precomp)/crc32-tab.c: @$(mkdir_p) $(precomp) @$(build_util_libs) @$(MAKE) crc-mktab$(EXEEXT) - ./crc-mktab -o $@.new \ + $(AM_V_GEN)./crc-mktab -o $@.new \ -p0x04c11db7 -b32 -B8 -r -c \ -scrc32_table -icrc32.h -tuint32 && \ mv $@.new $@ @@ -82,8 +82,8 @@ $(precomp)/unihash-global.c: @$(mkdir_p) $(precomp) @$(build_util_libs) @$(MAKE) unihash-mkstatic$(EXEEXT) - ./unihash-mkstatic -c -sunihash_global -iunihash.h -o$@.new && \ - mv $@.new $@ + $(AM_V_GEN)./unihash-mkstatic -c -sunihash_global -iunihash.h \ + -o$@.new && mv $@.new $@ endif check_PROGRAMS += t/unihash.t