Build: Use `silent-rules'.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 16 Jul 2013 14:32:47 +0000 (15:32 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 16 Jul 2013 14:32:47 +0000 (15:32 +0100)
Makefile.am
configure.ac

index b23bcbc..31e97ca 100644 (file)
@@ -73,11 +73,11 @@ CLEANFILES          += checkpath.pc
 EXTRA_DIST             += checkpath.pc.in
 
 checkpath.pc: checkpath.pc.in Makefile
-       $(top_srcdir)/config/confsubst $(srcdir)/checkpath.pc.in >$@.new \
+       $(AM_V_GEN)$(top_srcdir)/config/confsubst \
+               $(srcdir)/checkpath.pc.in >$@.new \
                prefix=$(prefix) exec_prefix=$(exec_prefix) \
                libdir=$(libdir) includedir=$(includedir) \
-               VERSION=$(VERSION)
-       mv $@.new $@
+               VERSION=$(VERSION) && mv $@.new $@
 
 ###--------------------------------------------------------------------------
 ### Other finishing touches.
index f433382..759333e 100644 (file)
@@ -27,6 +27,7 @@ mdw_AUTO_VERSION
 AC_INIT([Checkpath], AUTO_VERSION, [mdw@distorted.org.uk])
 AC_CONFIG_SRCDIR([checkpath.c])
 AC_CONFIG_AUX_DIR([config])
+mdw_SILENT_RULES
 AM_INIT_AUTOMAKE([foreign])
 
 dnl--------------------------------------------------------------------------