]> Savannah Git Hosting - gnulib.git/commitdiff
libgmp-mpz: Respect Automake's silent-rules.
authorCollin Funk <collin.funk1@gmail.com>
Thu, 16 Jan 2025 04:27:34 +0000 (20:27 -0800)
committerCollin Funk <collin.funk1@gmail.com>
Thu, 16 Jan 2025 04:27:34 +0000 (20:27 -0800)
* modules/libgmp-mpz (Depends-on): Depend on gen-header.
(Makefile.am): Prefix commands with $(AM_V_GEN), $(gl_V_at), and
$(AM_V_at).

ChangeLog
modules/libgmp-mpz

index bef68432ee7cb554256a15e96658b416886ee5d5..b195f7f80b79b07135154b6da1192a8de3bc6c0b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2025-01-15  Collin Funk  <collin.funk1@gmail.com>
+
+       libgmp-mpz: Respect Automake's silent-rules.
+       * modules/libgmp-mpz (Depends-on): Depend on gen-header.
+       (Makefile.am): Prefix commands with $(AM_V_GEN), $(gl_V_at), and
+       $(AM_V_at).
+
 2025-01-14  Bruno Haible  <bruno@clisp.org>
 
        assert-h: Fix compilation error with gcc >= 13 on Solaris 11.
index bdc14e5ff679cf18685b212ef7409b91ddb6c491..0aeb75271ace08c2f181422015837240f356aad8 100644 (file)
@@ -9,6 +9,7 @@ lib/mini-gmp.h
 m4/libgmp.m4
 
 Depends-on:
+gen-header
 
 configure.ac:
 gl_LIBGMP
@@ -23,19 +24,19 @@ if GL_GENERATE_GMP_H
 if GL_GENERATE_MINI_GMP_H
 # Build gmp.h as a wrapper for mini-gmp.h when using mini-gmp.
 gmp.h: $(top_builddir)/config.status
-@NMD@  $(MKDIR_P) '%reldir%'
-       echo '#include "mini-gmp.h"' > $@-t
-       echo '#if GNULIB_LIBGMP_MPQ' >> $@-t
-       echo '# include "mini-mpq.h"' >> $@-t
-       echo '#endif' >> $@-t
-       mv $@-t $@
+@NMD@  $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+       $(gl_V_at)echo '#include "mini-gmp.h"' > $@-t
+       $(AM_V_at)echo '#if GNULIB_LIBGMP_MPQ' >> $@-t
+       $(AM_V_at)echo '# include "mini-mpq.h"' >> $@-t
+       $(AM_V_at)echo '#endif' >> $@-t
+       $(AM_V_at)mv $@-t $@
 endif
 if GL_GENERATE_GMP_GMP_H
 # Build gmp.h as a wrapper for gmp/gmp.h.
 gmp.h: $(top_builddir)/config.status
-@NMD@  $(MKDIR_P) '%reldir%'
-       echo '#include <gmp/gmp.h>' > $@-t
-       mv $@-t $@
+@NMD@  $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+       $(gl_V_at)echo '#include <gmp/gmp.h>' > $@-t
+       $(AM_V_at)mv $@-t $@
 endif
 else
 gmp.h: $(top_builddir)/config.status