eudev/Makefile.am
Yann E. MORIN 18565392cf configure.ac: add option to disable building programs
In some cases (e.g. trimmed-down chroot or containers), libudev is the
only thing needed, with udevd and assorted programs totally useless
(e.g. because /dev is bind-mounted from the real one and managed
out-side the chroot/container).

Add an option to ./configure to enable/disable building the programs;
this option defaults to "enable", so that it is backward compatible with
existing build procedure, and because it by default makes sense to have
udevd et al.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2017-01-01 18:19:58 -05:00

26 lines
259 B
Makefile

ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
SUBDIRS = \
src
if ENABLE_PROGRAMS
SUBDIRS += \
rules \
test
endif
if ENABLE_MANPAGES
SUBDIRS += \
man
endif
if ENABLE_HWDB
SUBDIRS += \
hwdb
endif
if ENABLE_RULE_GENERATOR
SUBDIRS += \
rule_generator
endif