Install umax_pp backend tools if the backend is built

merge-requests/1/head
Olaf Meeuwissen 2015-09-12 19:55:28 +09:00 zatwierdzone przez m. allan noah
rodzic 21e1bd9ddb
commit 74c00494b6
2 zmienionych plików z 10 dodań i 1 usunięć

Wyświetl plik

@ -667,8 +667,12 @@ for backend in ${BACKENDS} ; do
BACKEND_LIBS_ENABLED="${BACKEND_LIBS_ENABLED} libsane-${backend}.la"
BACKEND_CONFS_ENABLED="${BACKEND_CONFS_ENABLED} ${backend}.conf"
BACKEND_MANS_ENABLED="${BACKEND_MANS_ENABLED} sane-${backend}.5"
if test x$backend = xumax_pp; then
install_umax_pp_tools=yes
fi
done
AC_SUBST(BACKEND_LIBS_ENABLED)
AM_CONDITIONAL(INSTALL_UMAX_PP_TOOLS, test xyes = x$install_umax_pp_tools)
AC_ARG_VAR(PRELOADABLE_BACKENDS, [list of backends to preload into single DLL])
if test "${enable_preload}" = "auto"; then

Wyświetl plik

@ -8,7 +8,12 @@ AM_CPPFLAGS = -I. -I$(srcdir) -I$(top_builddir)/include \
-I$(top_srcdir)/include
bin_PROGRAMS = sane-find-scanner gamma4scanimage
noinst_PROGRAMS = sane-desc umax_pp
noinst_PROGRAMS = sane-desc
if INSTALL_UMAX_PP_TOOLS
bin_PROGRAMS = umax_pp
else
noinst_PROGRAMS = umax_pp
endif
if CROSS_COMPILING
HOTPLUG =