[Top][All Lists]

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

Re: make distcheck and the /etc dir

From: Noah Slater
Subject: Re: make distcheck and the /etc dir
Date: Mon, 4 Jun 2007 17:57:43 +0100

   # for installing configuration data
   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 to

Indeed, because distcheck makes sure the build uses VPATH.

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.

This is a Bad Thing IMO. You should alter your program to look in
multiple places for it's configuration. If you are certain that the
configuration file should live here despite the wishes of the
installer your program should by default it will check for
'/etc/lx2005' and failing back to '$(prefix)/lx2005' - though this is
still broken.

How can I get 'make distcheck' to work with this configuration?

You cannot.

Alternatively, I'm open for other ideas of implementation.

Why is it so important for configuration files to live at /etc?

reply via email to

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