Re: Automake and directories
Piotras <pp-VVDi8QVAvoBWk0Htik3J/[email protected]> Fri, 17 Feb 2006 14:38:01 +0100
| Newsgroups | gmane.comp.web.midgard.devel |
|---|---|
| Message-ID | <[email protected]> |
Jukka Zitting <[email protected]> wrote: > Hi, > > On 2/17/06, Piotras <pp-VVDi8QVAvoBWk0Htik3J/[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. Yes, that's why I created conf.d directory and moved example file there. No directory is created. > > 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? It depends ;) But I preffer /etc instead of /usr/etc. I overwrite sysconfdir for this exception only. Piotras