You can put entries in the xxxApp/Db/Makefile, and then make will copy
the .db files to the TOP/db directory. But you don't have to do this
if you don't want to, you can have the IOC directly load the .db files
out of the xxxApp/Db directory. The latter is what I do, because I
deploy EPICS on sites where they don't have a build system, and so
can't run make. So we just use the .db files in the Db/ directory.
Mark
________________________________
From: [email protected] on behalf of Patrick Thomas
Sent: Wed 9/23/2009 5:38 PM
To: Andrew Johnson
Cc: [email protected]
Subject: Re: db folder
I'm sorry, I don't quite follow, where do I put the .db files that will
be loaded by the ioc? Do I have to put something in one of the Makefiles?
Andrew Johnson wrote:
On Wednesday 23 September 2009 16:23:54 Patrick Thomas wrote:
Does makeBaseApp -t ioc normally create a db folder in the top
directory, or does that get made by the user?
Neither; directories such bin, db, dbd, doc, html, include, and lib
will get
created at build time when make has something that needs to be
installed in
the relevant directory. Note that if you do a 'make distclean' at
the top
level, these directories *and their contents* will be deleted, so it
is a bad
idea to add files to them manually as they might not have a very long
life.
HTH,
- Andrew