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