diff --git a/Makefile.am b/Makefile.am index d8b19dfb..42ff854c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -30,15 +30,17 @@ ACLOCAL_AMFLAGS = -I m4 AM_DISTCHECK_CONFIGURE_FLAGS = \ - --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir) + --disable-8139too \ + --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir) SUBDIRS = \ include \ script if ENABLE_KERNEL -SUBDIRS += devices -SUBDIRS += master +SUBDIRS += \ + devices \ + master endif if BUILD_TOOL @@ -46,26 +48,16 @@ SUBDIRS += tool endif if ENABLE_USERLIB -SUBDIRS += lib +# userspace examples depend on lib/ +SUBDIRS += \ + lib \ + examples endif if ENABLE_TTY SUBDIRS += tty endif -# userspace example depends on lib/ -SUBDIRS += examples - -DIST_SUBDIRS = \ - devices \ - examples \ - include \ - lib \ - m4 \ - master \ - script \ - tool \ - tty noinst_HEADERS = \ globals.h diff --git a/devices/Makefile.am b/devices/Makefile.am index a7925084..28342dfd 100644 --- a/devices/Makefile.am +++ b/devices/Makefile.am @@ -33,12 +33,6 @@ SUBDIRS = \ e1000e \ igb -DIST_SUBDIRS = \ - ccat \ - e1000 \ - e1000e \ - igb - # using HEADERS to enable tags target noinst_HEADERS = \ 8139too-2.6.13-ethercat.c \ diff --git a/examples/Makefile.am b/examples/Makefile.am index 6d79af16..0ed68a0e 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -54,6 +54,8 @@ SUBDIRS += \ endif endif +# Here DIST_SUBDIRS needs to be explicitely defined because +# dc_rtai, mini and rtai are never added to `SUBDIRS` DIST_SUBDIRS = \ dc_rtai \ dc_user \