From 113c20c33501e0f22e94fbc3b2c446434b6c79bf Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Mon, 5 Mar 2012 23:36:28 +0100 Subject: [PATCH] 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" --- frontends/mconf/Makefile.am | 4 ++-- frontends/nconf/Makefile.am | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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) -- 2.39.5