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:
>
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
yes, that did it.
Thanks!
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