[build] fix FASEXECPREFIX handling and ship fence_ in -core rpm

Signed-off-by: Fabio M. Di Nitto <fabbione@fabbione.net>
main
Fabio M. Di Nitto 3 years ago
parent 32effea185
commit 36bcaa587f
  1. 4
      configure.ac
  2. 2
      tools/Makefile.am

@ -103,9 +103,9 @@ AC_SUBST([OCFROOT])
ANVIL_PKG_CHECK_VAR([FASEXECPREFIX_TMP], [fence-agents], [exec_prefix], [${prefix}]) ANVIL_PKG_CHECK_VAR([FASEXECPREFIX_TMP], [fence-agents], [exec_prefix], [${prefix}])
if test "${prefix}" != "/usr"; then if test "${prefix}" != "/usr"; then
FASEXECPREFIX="${prefix}/$FASEXECPREFIX_TMP" FASEXECPREFIX="${prefix}/${FASEXECPREFIX_TMP}"
else else
FASEXECPREFIX="FASEXECPREFIX_TMP" FASEXECPREFIX="${FASEXECPREFIX_TMP}"
fi fi
AC_SUBST([FASEXECPREFIX]) AC_SUBST([FASEXECPREFIX])

@ -50,7 +50,7 @@ dist_sbin_SCRIPTS = \
striker-show-db-counts \ striker-show-db-counts \
striker-auto-initialize-all striker-auto-initialize-all
fencedir = $(FASEXECPREFIX)/sbin fencedir = ${FASEXECPREFIX}/sbin
dist_fence_SCRIPTS = \ dist_fence_SCRIPTS = \
fence_delay \ fence_delay \

Loading…
Cancel
Save