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