On Mon, 14 Nov 2022 at 13:20, Arsen Arsenović <ar...@aarsen.me> wrote: > > Hi, > > Jonathan Wakely <jwak...@redhat.com> writes: > >> This looks simple, and more consistent with what we already do. Does > >> it solve your issue? > > It does work; though, if I was more daring I'd have said that it's fine > without checking, too, since it does the same operation on the same > directory ;) > > Was the omission of the mkdir $(DESTDIR)$(toolexeclibdir) intentional?
It's the first thing the recipe does: install-data-local: gdb.py @$(mkdir_p) $(DESTDIR)$(toolexeclibdir) That's why I'm suggesting to do the same thing for the debug dir. > I only see TELD/debug in your revision of the patch. Chances are, it > gets created elsewhere (my test was just install-target-libstdc++-v3, so > not even the full install), but it might be worth being conservative > about it. > > Thanks, > -- > Arsen Arsenović