- updated rpm spec file to include modprobe blacklist file
[barry.git] / Makefile.am
blob648ff20cbc472a3e397365b34e4f57f1e34fcc90
2 EXTRA_DIST = COPYING ChangeLog README \
3         buildgen.sh \
4         data \
5         doc \
6         hotplug \
7         maintainer \
8         rpm \
9         udev
11 SUBDIRS = . src tools examples man
12 # conditionally configured nested subdirectories are listed in $(subdirs)
13 SUBDIRS += $(subdirs)
15 pkgconfig_DATA = libbarry-0.pc
17 all-local:
18         rm -f $(top_builddir)/barry
19         ln -s $(top_srcdir)/src $(top_builddir)/barry
21 clean-local:
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
27 dist-hook:
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"; \
34                         else \
35                                 MISSING_DIRS="$$MISSING_DIRS --enable-$$subdir"; \
36                          fi; \
37                         echo "ERROR: The $$subdir subdirectory has been omitted!"; \
38                 else :; fi; \
39         done; \
40         if test -n "$$MISSING_DIRS"; then \
41                 echo ; \
42                 echo "rerun configure with $$MISSING_DIRS before running make dist"; \
43                 echo "###############################################################################"; \
44                 exit 1; \
45         else :; fi;