This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PING][PATCH v4] Add pretty printers for the NPTL lock types


On Mon, Apr 11, 2016 at 10:04:54AM -0300, Martin Galvan wrote:
> If the file was created from pretty-printers, I'd have to add
> something to the pretty-printers Makefile to (again) traverse all the
> submodule dirs, which is ugly. I guess I could add an 'mkdir -p
> $(common-objpfx)/pretty-printers' to the $(py-const) recipe, which is
> a bit better though it'd try to create the dir each time Makerules
> runs for a submodule with gen-py-const-headers. I can only pray that
> whatever part of the build system that's creating the submodule dirs
> is using '-p' as well, or else it'll fail when it arrives to
> pretty-printers..

I think there's a make-target-directory or similar macro in Makerules
that ought to help you achieve this.  IIRC it skips creating the
target directory if it exists or at least does not fail
catastrophically.

Siddhesh


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]