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