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

Eli Zaretskii <[email protected]>
Newsgroups gmane.emacs.help
Message-ID <[email protected]>
> 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.
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.