]> git.notmuchmail.org Git - notmuch/blob - bindings/Makefile.local
bindings: drop build time message on missing ruby dependency
[notmuch] / bindings / Makefile.local
1 # -*- makefile -*-
2
3 dir := bindings
4
5 # force the shared library to be built
6 ruby-bindings: lib/$(LINKER_NAME)
7 ifeq ($(HAVE_RUBY_DEV),1)
8         cd $(dir)/ruby && \
9                 EXTRA_LDFLAGS="$(NO_UNDEFINED_LDFLAGS)" \
10                 LIBNOTMUCH="../../lib/$(LINKER_NAME)" \
11                 ruby extconf.rb --vendor
12         $(MAKE) -C $(dir)/ruby
13 endif
14
15 CLEAN += $(patsubst %,$(dir)/ruby/%, \
16         .RUBYARCHDIR.time \
17         Makefile database.o directory.o filenames.o\
18         init.o message.o messages.o mkmf.log notmuch.so query.o \
19         status.o tags.o thread.o threads.o)