lib: added BackupError and RestoreError exceptions
[barry.git] / Makefile.am
blobbcce205d9b3971298cb59ac4e97c0537a3e8a512
1 DISTCHECK_CONFIGURE_FLAGS = --enable-gui --enable-opensync-plugin --enable-opensync-plugin-4x
3 ACLOCAL_FLAGS = -I m4
4 ACLOCAL_AMFLAGS = -I m4
6 EXTRA_DIST = COPYING ChangeLog README Doxyfile \
7         buildgen.sh \
8         data \
9         doc \
10         hotplug \
11         maintainer \
12         modprobe \
13         ppp \
14         rpm \
15         test \
16         udev
18 SUBDIRS = po . src tools examples man
19 # conditionally configured nested subdirectories are listed in $(subdirs)
20 SUBDIRS += $(subdirs)
22 pkgconfig_DATA = libbarry-0.pc libbarrydp-0.pc libbarryjdwp-0.pc
23 if WITH_SYNC
24 pkgconfig_DATA += libbarrysync-0.pc
25 endif
27 all-local:
28         rm -f $(top_builddir)/barry
29         ln -s $(top_srcdir)/src $(top_builddir)/barry
31 clean-local:
32         rm -f $(top_builddir)/barry
34 # these directories will be tested for during make dist to warn if they are
35 # missing - a new nested package should be added both here and in configure.ac
36 CONDITIONAL_SUBDIRS = gui opensync-plugin opensync-plugin-0.4x
37 dist-hook:
38         rm -rf `find $(distdir) -name CVS`
39         @for subdir in $(CONDITIONAL_SUBDIRS); do \
40                 if test ! -d $(distdir)/$$subdir; then \
41                         if test -z "$$MISSING_DIRS"; then \
42                                 echo "###############################################################################"; \
43                                 MISSING_DIRS="--enable-$$subdir"; \
44                         else \
45                                 MISSING_DIRS="$$MISSING_DIRS --enable-$$subdir"; \
46                          fi; \
47                         echo "ERROR: The $$subdir subdirectory has been omitted!"; \
48                 else :; fi; \
49         done; \
50         if test -n "$$MISSING_DIRS"; then \
51                 echo ; \
52                 echo "rerun configure with $$MISSING_DIRS before running make dist"; \
53                 echo "###############################################################################"; \
54                 exit 1; \
55         else :; fi;