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