Re: Automake - distcheck fails on install-data-local

2015-02-22 Thread Asaf Dalet
Thanks, Tyler. That fixed it. Once again I was beaten by DESTDIR... It seems that this variable is only set when running distcheck and not when running install? am I right? On Sun, Feb 22, 2015 at 11:01 PM, Tyler Retzlaff wrote: > Hi, > > On 2/22/2015 3:40 AM, Asaf Dalet wrote: >

Automake - distcheck fails on install-data-local

2015-02-22 Thread Asaf Dalet
Hi I am trying to do a conditional sysconf_DATA, meaning, I want to install my conf file into $(sysconfdir) only if it is not already installed. i tried to use install-data-local and it seems to work on a real installation, but 'make distcheck' fails. I run the test like this: > autoreconf --inst

Re: Automake - distcheck fails on install-exec-hook

2015-01-31 Thread Asaf Dalet
yes, that did it. Thanks!

Automake - distcheck fails on install-exec-hook

2015-01-29 Thread Asaf Dalet
Hi all, I have this Makefile.am: AUTOMAKE_OPTIONS = subdir-objects sbin_PROGRAMS = foo foo_SOURCES = foo.c install-exec-hook: chmod +s $(sbindir)/foo everything works well except for the target *distcheck* which gives this error: > make distcheck ... ... ... Making install in sub-module make