[Top][All Lists]

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

Re: How to create special config directories?

From: sandip
Subject: Re: How to create special config directories?
Date: Thu, 14 Feb 2002 10:50:20 +0530 (IST)

Thanks! It worked beautifully, other than the fact that
the dist_pkgsysconfdir_DATA  was flagged as an error and
I had to split it up into pkgsysconfdir_DATA and EXTRA_DIST.
But that is probably because my automake version is 1.4

What I am curious is why do I have to always specify directories
relative to the default ones available?(e.g. prefix,sysconfdir,libdir,
etc.) . What if I wanted to add a new one to the default list? e.g. if I
want an "optdir" to be calculated relative to the buildroot, and whilemaking a 
dist it is by default set to $builddir/opt and during "make
install" is set to /opt ?
- Sandip

>>>>   <address@hidden> writes:
> > But if I specify "--sysconfdir=/etc/package" ,
> sysconfig defaults to ${prefix}/etc.  The installer will
> probably want to specify --sysconfdir=/etc, not /etc/package.
> > and I have some files to put in "/etc/init.d" as well as
> > "/etc/package", how would I be specifying the targets?
> pkgsysconfdir = $(sysconfdir)/$(PACKAGE)
> dist_pkgsysconf_DATA = package.conf.sample
> initsysconfdir = $(sysconfdir)/init.d
> dist_initsysconf_DATA = package.conf.sample2
> [...]
> --
> Alexandre Duret-Lutz

reply via email to

[Prev in Thread] Current Thread [Next in Thread]