From: Yann E. MORIN" Date: Mon, 5 Mar 2012 22:36:28 +0000 (+0100) Subject: Makefiles: fix variable expansions X-Git-Tag: v3.3.0-0~6 X-Git-Url: https://git.sur5r.net/?p=kconfig-frontends;a=commitdiff_plain;h=113c20c33501e0f22e94fbc3b2c446434b6c79bf Makefiles: fix variable expansions Although ${} is valid in Makefiles, the usual convention is to use $(). (Note: both *are* POSIX.) Signed-off-by: "Yann E. MORIN" --- diff --git a/frontends/mconf/Makefile.am b/frontends/mconf/Makefile.am index 4da73b7..e2a30d2 100644 --- a/frontends/mconf/Makefile.am +++ b/frontends/mconf/Makefile.am @@ -2,10 +2,10 @@ bin_PROGRAMS = mconf mconf_SOURCES = mconf.c mconf_CPPFLAGS = $(AM_CPPFLAGS) \ - -DCURSES_LOC='"${CURSES_LOC}"' \ + -DCURSES_LOC='"$(CURSES_LOC)"' \ $(GETTEXT) \ -I../../libs \ -I../../libs/parser mconf_LDADD = ../../libs/parser/libkconfigparser.la \ ../../libs/lxdialog/liblxdialog.a \ - ${ncurses_LIBS} + $(ncurses_LIBS) diff --git a/frontends/nconf/Makefile.am b/frontends/nconf/Makefile.am index 8ed6f9f..0ad338b 100644 --- a/frontends/nconf/Makefile.am +++ b/frontends/nconf/Makefile.am @@ -5,4 +5,4 @@ nconf_CPPFLAGS = $(AM_CPPFLAGS) \ $(GETTEXT) \ -I../../libs/parser nconf_LDADD = ../../libs/parser/libkconfigparser.la \ - ${ncurses_extra_LIBS} ${ncurses_LIBS} + $(ncurses_extra_LIBS) $(ncurses_LIBS)