make distcheck works now with automake 1.8
[comedilib.git] / Makefile.am
1
2 SUBDIRS = lib comedi_calibrate comedi_config man testing demo doc swig \
3         include etc scxi
4
5 #pkgconfigdir = $(libdir)/pkgconfig
6 #pkgconfig_DATA = comedilib.pc
7
8 ## with automake 1.8, putting the m4 directory in EXTRA_DIST is not needed, and
9 ## causes 'make distcheck' to fail, by way of 'make distdir' failing when builddir != srcdir 
10 ## and srcdir is read-only.
11 EXTRA_DIST = debian comedilib.spec autogen.sh
12
13 ACLOCAL_AMFLAGS = -I m4
14
15 ## ruby binding is excluded from distcheck because setup.rb doesn't support uninstall
16 DISTCHECK_CONFIGURE_FLAGS = RUBY_PREFIX='$${prefix}' --disable-ruby-binding
17
18 dist-hook:
19         rm -rf `find $(distdir) -name CVS`
20