automake
[Top][All Lists]
Advanced

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

Re: make distcheck fails for simple Makefile.am


From: Ralf Wildenhues
Subject: Re: make distcheck fails for simple Makefile.am
Date: Mon, 20 Jun 2005 09:56:22 +0200
User-agent: Mutt/1.4.1i

* Roger Leigh wrote on Sat, Jun 18, 2005 at 12:47:08PM CEST:
> 
> In a simple Makefile.am:
> 
> pamdir = /etc/pam.d
> pam_DATA = schroot
> EXTRA_DIST = $(pam_DATA)
> 
> make distcheck fails:

Make that 
  pamdir = $(prefix)/etc/pam.d

but you really should be using sysconfdir:
  pamdir = $(sysconfdir)/pam.d

so that both the casual user and the distribution packager can easily
override the values: the former could do
  configure --sysconfdir=/etc   # rest goes under /usr/local
whereas the latter does
  configure --prefix=/

So no, this is not a bug in Automake.

Regards,
Ralf




reply via email to

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