Re: Making MKDIR_P Directory Rule like Emacs using ${trgdir}

Heime <[email protected]>
Newsgroups gmane.emacs.help
Message-ID <r852bN6_DGtvdDD_ggi425aIkyGIsN9ekW1k7iV0P9kZEJCG_QW9qfKlEL3W3ML3Qw_idAG8OD5HNgImua1ikqawhcTE-5D54Ztk5-q4L8I=@protonmail.com>
On Tuesday, April 28th, 2026 at 1:06 AM, Eli Zaretskii <[email protected]> wrote:

> > Date: Mon, 27 Apr 2026 11:14:50 +0000
> > From: Heime <[email protected]>
> >
> > In the Emacs documentation makefile, this makes the directory
> > where the resulting emacs.info file is placed
> >
> > MKDIR_P = @MKDIR_P@
> > ${buildinfodir}:
> > 	${MKDIR_P} $@
> >
> > In my case, I want the info file to exist in the build directory
> > target stored in trgdir.  What recipe shall I use to make
> > trgdir if it does not exist?
> >
> > ${trgdir}:
> > 	${MKDIR_P} $@
> 
> Yes.

What is ${MKDIR_P} and what command is it?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.