[gsound/wip/hadess/fix-automake: 2/2] build: Fix automake variables usage




commit c3bcc644a412430484e16d615266b33aaee85c02
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Jul 22 13:42:45 2021 +0200

    build: Fix automake variables usage
    
    The variables should be used with $() not ${} otherwise we might see
    automake choking on the variable substitution:
    gsound/Makefile.am: installing 'build-aux/depcomp'
    Unescaped left brace in regex is passed through in regex; marked by <-- HERE in m/^${ <-- HERE 
abs_top_builddir}/gsound$/ at /usr/bin/automake line 5755.
    autoreconf: automake failed with exit status: 255

 tools/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 11f8e01..a81c296 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -8,7 +8,7 @@ bin_PROGRAMS = gsound-play
 gsound_play_SOURCES = gsound-play.vala
 
 gsound_play_VALAFLAGS = \
-    --vapidir ${abs_top_builddir}/gsound \
+    --vapidir $(abs_top_builddir)/gsound \
     --pkg gsound \
     ${NULL}
 
@@ -18,7 +18,7 @@ gsound_play_CPPFLAGS = \
     ${NULL}
 
 gsound_play_LDFLAGS = \
-    ${top_builddir}/gsound/libgsound.la \
+    $(top_builddir)/gsound/libgsound.la \
     ${GSOUND_LIBS} \
     ${NULL}
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]