if ENABLE_TRUSTMUX
TRUSTMUX_SUBDIR = mobile
else
TRUSTMUX_SUBDIR =
endif

SUBDIRS = etc/byobu \
	etc/profile.d \
	usr/share/byobu/desktop \
	usr/share/byobu/keybindings \
	usr/share/byobu/pixmaps \
	usr/share/byobu/pixmaps/highcontrast \
	usr/share/byobu/profiles \
	usr/share/byobu/status \
	usr/share/byobu/tests \
	usr/share/byobu/windows \
	usr/share/dbus-1/services \
	usr/share/doc/byobu \
	usr/lib/byobu \
	usr/lib/byobu/include \
	usr/share/man/man1 \
	usr/share/sounds/byobu \
	usr/bin \
	$(TRUSTMUX_SUBDIR)

# mobile/ is always distributed so `make dist` is complete regardless of
# whether --disable-trustmux was passed at configure time.
DIST_SUBDIRS = $(SUBDIRS) mobile

distclean-local:
	rm -rf mobile/build mobile/dist mobile/trustmux.egg-info
