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