This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: How to create special config directories?
- From: <sandip at mindsw dot com>
- To: <automake at gnu dot org>
- Date: Thu, 14 Feb 2002 10:50:20 +0530 (IST)
- Subject: Re: How to create special config directories?
- References: <2002-02-13-11-15-27+29369+duret_g@epita.fr>
Hi!
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
>>>> <sandip@mindsw.com> 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