Am Sonntag, den 10.06.2007, 09:01 +0200 schrieb Ralf Wildenhues:
> * Daniel Leidert wrote on Mon, Jun 04, 2007 at 07:38:18PM CEST:
> > Am Montag, den 04.06.2007, 15:56 +0200 schrieb Jason Curl:
> > >
> > ># Makefile.am for installing configuration data
> > >etcdir=/etc/lx2005
> >
> > This
Hello,
* Daniel Leidert wrote on Mon, Jun 04, 2007 at 07:38:18PM CEST:
> Am Montag, den 04.06.2007, 15:56 +0200 schrieb Jason Curl:
> >
> ># Makefile.am for installing configuration data
> >etcdir=/etc/lx2005
>
> This line misses a $(DESTDIR) to not break package builds and distcheck.
N
Hello, and sorry for chiming in so late,
* Noah Slater wrote on Mon, Jun 04, 2007 at 06:57:43PM CEST:
> > # Makefile.am for installing configuration data
> > etcdir=/etc/lx2005
> > etc_DATA = serlog.conf
>
> This is seriously broken. What if my /etc directory is read-only, for
> example.
Hello Jason,
On Mon, Jun 04, 2007 at 07:25:16PM +0200, Jason Curl wrote:
> Sounds like my best solution would be to use the "sysconf_DATA" option.
this was also the fist solution which came to my mind.
> Any ideas how to take 'sysconfdir' and somehow import it into my program
> so it knows whe
Am Montag, den 04.06.2007, 22:15 +0100 schrieb Noah Slater:
> > Sounds like my best solution would be to use the "sysconf_DATA" option.
> > Any ideas how to take 'sysconfdir' and somehow import it into my program
> > so it knows where the default configuration files are?
>
> Well, I use Python and
Sounds like my best solution would be to use the "sysconf_DATA" option.
Any ideas how to take 'sysconfdir' and somehow import it into my program
so it knows where the default configuration files are?
Well, I use Python and I have a file called 'lib/foo/__init__.py.in'
that is has the following l
On 6/4/07, deckrider <[EMAIL PROTECTED]> wrote:
On 6/4/07, Jason Curl <[EMAIL PROTECTED]> wrote:
> Daniel Leidert wrote:
> > BTW: If you use
> >
> > etcdir=${sysconfdir}
> >
> > you can set
> >
> > DISTCHECK_CONFIGURE_FLAGS = --sysconfdir=/etc
> >
> > And if you want to make this the default, set
On 6/4/07, Jason Curl <[EMAIL PROTECTED]> wrote:
Daniel Leidert wrote:
> BTW: If you use
>
> etcdir=${sysconfdir}
>
> you can set
>
> DISTCHECK_CONFIGURE_FLAGS = --sysconfdir=/etc
>
> And if you want to make this the default, set it in your configure
> script:
>
> AC_SUBST([sysconfdir],[/etc])
>
Daniel Leidert wrote:
Am Montag, den 04.06.2007, 15:56 +0200 schrieb Jason Curl:
Hello,
I have a project where the program expects the configuration files to be
stored in '/etc/lx2005'. Appropriately, I've got such a Makefile.am:
# Makefile.am for installing configuration data
etcdir
Am Montag, den 04.06.2007, 15:56 +0200 schrieb Jason Curl:
> Hello,
>
> I have a project where the program expects the configuration files to be
> stored in '/etc/lx2005'. Appropriately, I've got such a Makefile.am:
>
># Makefile.am for installing configuration data
>etcdir=/etc/lx2005
deckrider wrote:
On 6/4/07, Jason Curl <[EMAIL PROTECTED]> wrote:
Hello,
I have a project where the program expects the configuration files to be
stored in '/etc/lx2005'. Appropriately, I've got such a Makefile.am:
# Makefile.am for installing configuration data
etcdir=/etc/lx2005
I of
Noah Slater wrote:
# Makefile.am for installing configuration data
etcdir=/etc/lx2005
etc_DATA = serlog.conf
This is seriously broken. What if my /etc directory is read-only, for
example.
As I mentioned below, I could override this by using:
make DESTDIR="/home/user/progs" install
http://sources.redhat.com/automake/automake.html#Hard_002dCoded-Install-Paths
Informative. Though I still maintain that it's a Bad Thing. Heh.
On 6/4/07, Jason Curl <[EMAIL PROTECTED]> wrote:
Hello,
I have a project where the program expects the configuration files to be
stored in '/etc/lx2005'. Appropriately, I've got such a Makefile.am:
# Makefile.am for installing configuration data
etcdir=/etc/lx2005
I often struggle with
# Makefile.am for installing configuration data
etcdir=/etc/lx2005
etc_DATA = serlog.conf
This is seriously broken. What if my /etc directory is read-only, for example.
This breaks any hope of getting a VPATH build.
When I run 'make distcheck' it fails as it cannot install the files
Hello,
I have a project where the program expects the configuration files to be
stored in '/etc/lx2005'. Appropriately, I've got such a Makefile.am:
# Makefile.am for installing configuration data
etcdir=/etc/lx2005
etc_DATA = serlog.conf
CLEANFILES = serlog.conf
EXTRA_DIST = serlo
16 matches
Mail list logo