]> git.sur5r.net Git - kconfig-frontends/commitdiff
Makefiles: fix variable expansions
authorYann E. MORIN" <yann.morin.1998@free.fr>
Mon, 5 Mar 2012 22:36:28 +0000 (23:36 +0100)
committerYann E. MORIN" <yann.morin.1998@free.fr>
Mon, 5 Mar 2012 22:36:28 +0000 (23:36 +0100)
Although ${} is valid in Makefiles, the usual convention is
to use $().

(Note: both *are* POSIX.)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
frontends/mconf/Makefile.am
frontends/nconf/Makefile.am

index 4da73b7a07012b9938033381c498341c8e6c7e27..e2a30d231ce8aa01752f0b4218ec4faaaf1e854b 100644 (file)
@@ -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)
index 8ed6f9fa48bcca5da59121e4ac8758a8408be4a3..0ad338b28aadb23c976d6cb1674088cfe64b62b8 100644 (file)
@@ -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)