Re: Conditionally overriding variables set by Autoconf

2020-07-15 Thread Marius Bakke
Hi Karl, Karl Berry writes: > Hi Marius, > > Makefile.am:86: warning: pkglibdir was already defined in condition > TRUE, which includes condition USE_VERSION_LINKS ... > > All I can think of to do is introduce a new variable in each branch, and > define the "built-in" variables outside

Re: Conditionally overriding variables set by Autoconf

2020-07-02 Thread Karl Berry
Hi Marius, Makefile.am:86: warning: pkglibdir was already defined in condition TRUE, which includes condition USE_VERSION_LINKS ... All I can think of to do is introduce a new variable in each branch, and define the "built-in" variables outside the conditional. Unfortunately this means

Conditionally overriding variables set by Autoconf

2020-06-29 Thread Marius Bakke
Hi! Noob question. I have a Makefile.am that looks like this: --8<---cut here---start->8--- pkglibdir = $(versiondir)$(libdir)/ganeti myexeclibdir = $(pkglibdir) bindir = $(versiondir)/$(BINDIR) sbindir = $(versiondir)$(SBINDIR) mandir =