[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: data and config file placement



On Sat, Jun 12, 1999 at 11:40:35PM +0100, John Travers wrote:
> On Sat, 12 Jun 1999, Adam Di Carlo wrote:
> > John Travers <jtravs@debian.org> writes:

> > > 1) how do I make these non executable.?

> > chmod a-x <file>

> I know how to do it manually! How do I do it in the debian/rules script?

Put the chmod in the rules file.  A makefile rule just specifies a
sequence of shell commands to execute to turn the dependancies into the
target.

> > > 2) how can I put the config (cfg) files in /etc/hightfall (the
> > > package uses a confgure script, but I can't specify the config file
> > > dir), prehaps symlinks --> how would I do this?

> > -> /etc/nightfall.  If you don't know how to do that, you really need
> > to step back and bone up on Unix a bit... :)

> Again I know this! But how do I automate it in the build process?

Let the package install itself, then move the file and replace the
original with a symlink to the new locaton.

-- 
Mark Brown  mailto:broonie@tardis.ed.ac.uk   (Trying to avoid grumpiness)
            http://www.tardis.ed.ac.uk/~broonie/
EUFS        http://www.eusa.ed.ac.uk/societies/filmsoc/

Attachment: pgpdQ3Q9ZNH8Z.pgp
Description: PGP signature


Reply to: