Re: MKDIR_P invocations

2021-12-21 Thread Bruno Haible
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),

Re: MKDIR_P invocations

2021-12-20 Thread Paul Eggert
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

Re: MKDIR_P invocations

2021-12-20 Thread Bruno Haible
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