Paul Eggert wrote:
> On 12/20/21 01:08, Bruno Haible wrote:
> > @NMD@ $(MKDIR_P) '%reldir%' && \
>
> Although that'd work, it might be a bit of a maintenance hassle.
>
> How instead using a new macro $(AUTOMAKE_MKDIR_P) instead of $(MKDIR_P)?
> AUTOMAKE_MKDIR_P would default to $(MKDIR_P),
On 12/20/21 01:08, Bruno Haible wrote:
@NMD@ $(MKDIR_P) '%reldir%' && \
Although that'd work, it might be a bit of a maintenance hassle.
How instead using a new macro $(AUTOMAKE_MKDIR_P) instead of $(MKDIR_P)?
AUTOMAKE_MKDIR_P would default to $(MKDIR_P), but GNU Emacs could
override this
Paul Eggert wrote:
> > It would be possible to replace, in the module descriptions:
> >
> > $(MKDIR_P) '%reldir%' && \
> >
> > with
> >
> > { test '%reldir%' = '.' || $(MKDIR_P) '%reldir%'; } && \
> >
> > It's a micro-optimization. A trade-off between execution speed and
> > readability