1 DISTCHECK_CONFIGURE_FLAGS = --enable-gui --enable-opensync-plugin
5 EXTRA_DIST = COPYING ChangeLog README \
15 SUBDIRS = . src tools examples man
16 # conditionally configured nested subdirectories are listed in $(subdirs)
19 pkgconfig_DATA = libbarry-0.pc
22 rm -f $(top_builddir)/barry
23 ln -s $(top_srcdir)/src $(top_builddir)/barry
26 rm -f $(top_builddir)/barry
28 # these directories will be tested for during make dist to warn if they are
29 # missing - a new nested package should be added both here and in configure.ac
30 CONDITIONAL_SUBDIRS = gui opensync-plugin
32 rm -rf `find $(distdir) -name CVS`
33 @for subdir in $(CONDITIONAL_SUBDIRS); do \
34 if test ! -d $(distdir)/$$subdir; then \
35 if test -z "$$MISSING_DIRS"; then \
36 echo "###############################################################################"; \
37 MISSING_DIRS="--enable-$$subdir"; \
39 MISSING_DIRS="$$MISSING_DIRS --enable-$$subdir"; \
41 echo "ERROR: The $$subdir subdirectory has been omitted!"; \
44 if test -n "$$MISSING_DIRS"; then \
46 echo "rerun configure with $$MISSING_DIRS before running make dist"; \
47 echo "###############################################################################"; \