* 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