Commit 7959b875 authored by Petr Pudlak's avatar Petr Pudlak

Include mond and confd only when configured

Previously they were included no matter of what the configuration was,
failing to compile if some of the dependencies were missing.
Signed-off-by: default avatarPetr Pudlak <pudlak@google.com>
Reviewed-by: default avatarHelga Velroyen <helgav@google.com>
parent be6cdf67
......@@ -593,13 +593,17 @@ HS_MYEXECLIB_PROGS=
endif
# Haskell programs to be compiled by "make really-all"
HS_COMPILE_PROGS= \
HS_COMPILE_PROGS = \
src/ganeti-kvmd \
src/ganeti-mond \
src/hconfd \
src/hluxid \
src/hs2py \
src/rpc-test
if ENABLE_CONFD
HS_COMPILE_PROGS += src/hconfd
endif
if ENABLE_MOND
HS_COMPILE_PROGS += src/ganeti-mond
endif
# All Haskell non-test programs to be compiled but not automatically installed
HS_PROGS = $(HS_BIN_PROGS) $(HS_MYEXECLIB_PROGS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment