KnownBugs: added note on Desktop's mishandling of birthday calendar entries
[barry.git] / Makefile.am
blob2b8118c2faa036addf1cb84ed10718d4f41033f2
1 DISTCHECK_CONFIGURE_FLAGS = --enable-gui --enable-opensync-plugin --enable-opensync-plugin-4x --enable-desktop
3 ACLOCAL_FLAGS = -I m4
4 ACLOCAL_AMFLAGS = -I m4
6 EXTRA_DIST = COPYING ChangeLog README Doxyfile AUTHORS KnownBugs \
7         buildgen.sh \
8         data \
9         doc \
10         hotplug \
11         maintainer \
12         modprobe \
13         ppp \
14         rpm \
15         udev \
16         bash \
17         zsh \
18         hal \
19         logo \
20         contrib \
21         menu \
22         usbmon-6 \
23         android \
24         wince \
25         .gitignore
27 SUBDIRS = po . src tools examples man test
28 # conditionally configured nested subdirectories are listed in $(subdirs)
29 SUBDIRS += $(subdirs)
31 pkgconfig_DATA = libbarry-19.pc libbarrydp-19.pc libbarryjdwp-19.pc
32 if WITH_SYNC
33 pkgconfig_DATA += libbarrysync-19.pc
34 endif
35 if WITH_BACKUP
36 pkgconfig_DATA += libbarrybackup-19.pc
37 endif
38 if WITH_ALX
39 pkgconfig_DATA += libbarryalx-19.pc
40 endif
42 VERSIONED_INCLUDE = barry@BARRY_MAJOR@
44 all-local:
45         rm -f $(top_builddir)/barry $(top_builddir)/$(VERSIONED_INCLUDE)
46         ln -fs $(top_srcdir)/src $(top_builddir)/barry
47         ln -fs $(top_builddir) $(top_builddir)/$(VERSIONED_INCLUDE)
49 clean-local:
50         rm -f $(top_builddir)/barry $(top_builddir)/$(VERSIONED_INCLUDE)
52 # these directories will be tested for during make dist to warn if they are
53 # missing - a new nested package should be added both here and in configure.ac
54 CONDITIONAL_SUBDIRS = gui opensync-plugin opensync-plugin-0.4x desktop
55 dist-hook:
56         rm -rf `find $(distdir) -name CVS`
57         @for subdir in $(CONDITIONAL_SUBDIRS); do \
58                 if test ! -d $(distdir)/$$subdir; then \
59                         if test -z "$$MISSING_DIRS"; then \
60                                 echo "###############################################################################"; \
61                                 MISSING_DIRS="--enable-$$subdir"; \
62                         else \
63                                 MISSING_DIRS="$$MISSING_DIRS --enable-$$subdir"; \
64                          fi; \
65                         echo "ERROR: The $$subdir subdirectory has been omitted!"; \
66                 else :; fi; \
67         done; \
68         if test -n "$$MISSING_DIRS"; then \
69                 echo ; \
70                 echo "rerun configure with $$MISSING_DIRS before running make dist"; \
71                 echo "###############################################################################"; \
72                 exit 1; \
73         else :; fi;