Re: Automake and directories

Jukka Zitting <[email protected]> Fri, 17 Feb 2006 15:29:56 +0200
Newsgroups gmane.comp.web.midgard.devel
Message-ID <[email protected]>
Hi,

On 2/17/06, Piotras <[email protected]> wrote:
> Anyone knows how to define directories creation in Makefile.am?
> I need to create $etc/midgard/conf.d and $share/midgard/schema dirs.

Do you need to place files in them or just create the directories? The
default for automake is to create the directories on-demand when it
needs to place a file there. A simple way to force the creation of
such directories is to define explanatory README.txt files to be
placed there.

> First case is somehow related to trick which should be done to
> overwrite ( far from being clever ) sysconfdir.

Is there a reason why we do not use the standard directory layout?

BR,

Jukka Zitting

--
Yukatan - http://yukatan.fi/ - [email protected]
Software craftmanship, JCR consulting, and Java development