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