Build: Delay expansion of $datadir in FIRMWARE_DIR
Make it so that $(datadir) is resolved at make time, as per autotools recommendations. Note that $datadir is not fully resolved at configure time to begin with, i.e. part of it already was evaluated at make time.
This commit is contained in:
parent
b2478a23db
commit
27a2497dc2
|
@ -559,7 +559,7 @@ AM_CONDITIONAL(BINDINGS_JAVA, test x$BINDINGS_JAVA = xyes)
|
||||||
# Checks for typedefs, structures, and compiler characteristics.
|
# Checks for typedefs, structures, and compiler characteristics.
|
||||||
AC_C_BIGENDIAN
|
AC_C_BIGENDIAN
|
||||||
|
|
||||||
AC_SUBST(FIRMWARE_DIR, "$datadir/sigrok-firmware")
|
AC_SUBST([FIRMWARE_DIR], ['$(datadir)/sigrok-firmware'])
|
||||||
AC_SUBST(MAKEFLAGS, '--no-print-directory')
|
AC_SUBST(MAKEFLAGS, '--no-print-directory')
|
||||||
AC_SUBST(AM_LIBTOOLFLAGS, '--silent')
|
AC_SUBST(AM_LIBTOOLFLAGS, '--silent')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue