[bug#60776] [PATCH] distdir/emacs: avoid `test -d` with MKDIR_P
Mike Frysinger <[email protected]> Fri, 13 Jan 2023 23:47:30 -0500
| Newsgroups | gmane.comp.sysutils.automake.patches |
|---|---|
| Message-ID | <Y8Iz4mz+y7YX1JrD@vapier> |
On 13 Jan 2023 15:36, Karl Berry wrote: > - test -d "$(distdir)" || mkdir "$(distdir)" > + $(AM_V_at)$(MKDIR_P) "$(distdir)" > > Ok by me, but why the AM_V_at for this particular command? > I don't see it used anywhere else in distdir.am. this is certainly true, and it's something i want to fix ... at some point. imo we overly rely on explicit @ in many places which can make debugging failures painful. i imagine the current state is due to the silent-rules work focusing on the most common paths (compile/rebuilds) and leaving the rest to "one day". so if we ever get to that day, we'd use $(AM_V_at) in this location. i figured making the change while i was here means we have a slightly higher chance of this code eventually being silent-rules compat vs finding the time to convert it all at once. -mike
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmPCM+IACgkQQWM7n+g3 9YGHSBAAicLVBTcTteFuEez34hVLPdPB0/+9EgTSEQXXN3yRq9j7vQiULkF5v4nY SpDpE5RO/279kGxgQ41qpl9stKuPW/NzC7uoIFmUnlaoBSdx/BnRTS75OGKnPHX/ y1nvbyQk6LfXkZL0njM1tpdbnxrQZoTS8UD0MQtE2RI/uEqmsl/FHipCuEg83sH5 dyTkvLzCeL/klPD/rEYT1GHxuZD+fPWGAs/TSQx65F8OQKrTG/PTnQxVqB7l4uj/ 2Vac/198TaUcgUm3ITB34Na6kGzAwA3XdQGYexgeP4OThsRPzGm06Nb+zivZee6x 3s/vsebkGF8/bm02opA3DRpPeSP6sPaq8uQyDFQPr68UcMFe9+jS2AbsZgP2ey3G 7OX3PFxZ1uyVM0tbrA8WjJRcBi91jgpcWSA+AKHL2JmgqqhtYAEIcxS8LjLfBnYt 8WZvsx0Cz2dmrs8Pi7dVEdAdbRrFyJJ92a5TcKGi8mb6jzMciyJAdueHZN7R88b0 +dnE5mMngg261F6QhnEn5ILHScGFTbL04/AYJbWdnXIavdv6HhQm149vp24S/3aE BGaTe0VtaV08K+6dQtnkFlvoHynojRe2vKiJZhF+8vzuRl5SzzlDR82AgLIvTpJk 0k758DjzT0RnFU+S2yIbU2Zg8NaEPJ6Uq3UXH1XJEJ2OAgYL9sk= =MfUM -----END PGP SIGNATURE-----