[PATCH 3/3] build system: drop shlibs/Makefile.am that only adds SUBDIRS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The same effect is gotten by changing SUBDIRS in the top-level
Makefile.am.
---
 Makefile.am        |   16 +++++++++++++++-
 configure.ac       |    1 -
 shlibs/Makefile.am |   13 -------------
 3 files changed, 15 insertions(+), 15 deletions(-)
 delete mode 100644 shlibs/Makefile.am

diff --git a/Makefile.am b/Makefile.am
index f332510..c489665 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,12 +1,26 @@
 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 \
diff --git a/configure.ac b/configure.ac
index 1d81f20..eaa5945 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1168,7 +1168,6 @@ shlibs/uuid/uuid.pc
 shlibs/uuid/Makefile
 shlibs/uuid/man/Makefile
 shlibs/uuid/src/Makefile
-shlibs/Makefile
 sys-utils/Makefile
 tests/commands.sh
 tests/helpers/Makefile
diff --git a/shlibs/Makefile.am b/shlibs/Makefile.am
deleted file mode 100644
index 84c0cef..0000000
--- a/shlibs/Makefile.am
+++ /dev/null
@@ -1,13 +0,0 @@
-SUBDIRS =
-
-if BUILD_LIBUUID
-SUBDIRS += uuid
-endif
-
-if BUILD_LIBBLKID
-SUBDIRS += blkid
-endif
-
-if BUILD_LIBMOUNT
-SUBDIRS += mount
-endif
-- 
1.7.2

--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux