automake
[Top][All Lists]
Advanced

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

Re: make distcheck and the /etc dir


From: Daniel Leidert
Subject: Re: make distcheck and the /etc dir
Date: Sun, 10 Jun 2007 22:24:05 +0200

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 line misses a $(DESTDIR) to not break package builds and distcheck.
> 
> No, it doesn't.
> 
> > >    etc_DATA = serlog.conf
> > [snip]
> > > The configuration that gets copied depends on the 'configure' script 
> > > setting the variable $(MACHINE).
> > > 
> > > When I run 'make distcheck' it fails as it cannot install the files to 
> > > '/etc/lx2005'. I would very much like the location of the configuration 
> > > files to be independent of $(prefix) as the locations my project 
> > > searches are independent of where it was installed.
> > 
> > No problem: But you should add the DESTDIR variable to hardcoded paths.
> 
> Only in rules.

You are right. I already found my mistake.

Regards, Daniel





reply via email to

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