* [PATCH] Use abs_top_srcdir in place of abs_srcdir
@ 2021-04-05 21:33 Khem Raj
2021-04-29 1:54 ` Khem Raj
0 siblings, 1 reply; 2+ messages in thread
From: Khem Raj @ 2021-04-05 21:33 UTC (permalink / raw)
To: iwd
[-- Attachment #1: Type: text/plain, Size: 971 bytes --]
this makes it build when build dir is outside of sources dir
---
Makefile.am | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 644f3556..e3f79901 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -625,9 +625,10 @@ unit/tls-settings.8021x: unit/cert-ca.pem unit/cert-client.pem unit/cert-client-
BUILT_SOURCES = $(ell_built_sources) src/builtin.h
ell/shared: Makefile
+ $(AM_V_at)$(MKDIR_P) ell
$(AM_V_GEN)for f in $(ell_shared) ; do \
if [ ! -f $$f ] ; then \
- $(LN_S) -t ell -f $(abs_srcdir)/../ell/$$f ; \
+ $(LN_S) -t ell -f $(abs_top_srcdir)/ell/$$f ; \
fi \
done > $@
@@ -635,7 +636,7 @@ ell/internal: Makefile
$(AM_V_at)$(MKDIR_P) ell
$(AM_V_GEN)for f in $(ell_headers) $(ell_sources) ; do \
if [ ! -f $$f ] ; then \
- $(LN_S) -t ell -f $(abs_srcdir)/../ell/$$f ; \
+ $(LN_S) -t ell -f $(abs_top_srcdir)/ell/$$f ; \
fi \
done > $@
--
2.31.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Use abs_top_srcdir in place of abs_srcdir
2021-04-05 21:33 [PATCH] Use abs_top_srcdir in place of abs_srcdir Khem Raj
@ 2021-04-29 1:54 ` Khem Raj
0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2021-04-29 1:54 UTC (permalink / raw)
To: iwd
[-- Attachment #1: Type: text/plain, Size: 1276 bytes --]
ping
On Mon, Apr 5, 2021 at 2:33 PM Khem Raj <raj.khem@gmail.com> wrote:
>
> this makes it build when build dir is outside of sources dir
> ---
> Makefile.am | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/Makefile.am b/Makefile.am
> index 644f3556..e3f79901 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -625,9 +625,10 @@ unit/tls-settings.8021x: unit/cert-ca.pem unit/cert-client.pem unit/cert-client-
> BUILT_SOURCES = $(ell_built_sources) src/builtin.h
>
> ell/shared: Makefile
> + $(AM_V_at)$(MKDIR_P) ell
> $(AM_V_GEN)for f in $(ell_shared) ; do \
> if [ ! -f $$f ] ; then \
> - $(LN_S) -t ell -f $(abs_srcdir)/../ell/$$f ; \
> + $(LN_S) -t ell -f $(abs_top_srcdir)/ell/$$f ; \
> fi \
> done > $@
>
> @@ -635,7 +636,7 @@ ell/internal: Makefile
> $(AM_V_at)$(MKDIR_P) ell
> $(AM_V_GEN)for f in $(ell_headers) $(ell_sources) ; do \
> if [ ! -f $$f ] ; then \
> - $(LN_S) -t ell -f $(abs_srcdir)/../ell/$$f ; \
> + $(LN_S) -t ell -f $(abs_top_srcdir)/ell/$$f ; \
> fi \
> done > $@
>
> --
> 2.31.1
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-04-29 1:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-05 21:33 [PATCH] Use abs_top_srcdir in place of abs_srcdir Khem Raj
2021-04-29 1:54 ` Khem Raj
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.