[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Saving configuration files using automake
From: |
Kevin Nowaczyk |
Subject: |
Re: Saving configuration files using automake |
Date: |
Wed, 7 Jul 2004 07:13:57 -0700 (PDT) |
For some reason that doesn't work. When I run
autogen.sh I get:
conf/Makefile.am:1: invalid variable
`dist_sysconf_DATA'
I'm using automake version 1.4-p4
If I remove the dist_ it installs fine. I know the
dist_ is supposed to include the file with the
distribution, so can I get by with typing
sysconf_DATA = foo.conf
EXTRA_DIST = foo.conf
or is that frowned upon. It gets the job done, but it
might not be "The right way".
Kevin Nowaczyk
From: Alexandre Duret-Lutz
Subject: Re: Saving configuration files using
automake
Date: Sat, 3 Jul 2004 01:57:27 +0200
--------------------------------------------------------------------------------
On Fri, Jul 02, 2004 at 04:32:28PM -0700, Kevin
Nowaczyk wrote:
> When the admin types `make install` I would like a
> file "project/doc/foo.conf" to be placed in
> "/etc/foo.conf".
>
> The configure script generated by autogen.sh
contains
> the line:
> sysconfdir='${prefix}/etc'
>
> My question is...What do I put in
> project/doc/Makefile.am to tell make that foo.conf
is
> a system configuration file.
dist_sysconf_DATA = foo.conf
=====
Manage your PEZ collection online. Visit PezBase at
http://www.beakerboy.com:8081
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail