* we were assuming that the source of a 'new folder' thing always
[modest] / Makefile.am
index ea22f58..783cd98 100644 (file)
 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
-SUBDIRS= src libmodest-dbus-client man po
+SUBDIRS= src man po
+
+if MODEST_HAVE_DBUS_API
+SUBDIRS += libmodest-dbus-client
+endif
 
 if BUILD_TESTS
 SUBDIRS += tests