The same effect is gotten by changing SUBDIRS in the top-level
Makefile.am.
include $(top_srcdir)/config/include-Makefile.am
+SHLIBS_DIRS =
+
+if BUILD_LIBUUID
+SHLIBS_DIRS += shlibs/uuid
+endif
+
+if BUILD_LIBBLKID
+SHLIBS_DIRS += shlibs/blkid
+endif
+
+if BUILD_LIBMOUNT
+SHLIBS_DIRS += shlibs/mount
+endif
+
SUBDIRS = \
include \
disk-utils \
fdisk \
getopt \
lib \
- shlibs \
+ $(SHLIBS_DIRS) \
login-utils \
misc-utils \
po \
shlibs/uuid/Makefile
shlibs/uuid/man/Makefile
shlibs/uuid/src/Makefile
-shlibs/Makefile
sys-utils/Makefile
tests/commands.sh
tests/helpers/Makefile
+++ /dev/null
-SUBDIRS =
-
-if BUILD_LIBUUID
-SUBDIRS += uuid
-endif
-
-if BUILD_LIBBLKID
-SUBDIRS += blkid
-endif
-
-if BUILD_LIBMOUNT
-SUBDIRS += mount
-endif