[PATCH 14/33] build system: convert getopt to module format.

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

 



Signed-off-by: Diego Elio 'Flameeyes' Pettenò <flameeyes@xxxxxxxxx>
---
 Makefile.am        |    2 +-
 configure.ac       |    1 -
 getopt/Makefile.am |   11 -----------
 getopt/module.am   |    9 +++++++++
 4 files changed, 10 insertions(+), 13 deletions(-)
 delete mode 100644 getopt/Makefile.am
 create mode 100644 getopt/module.am

diff --git a/Makefile.am b/Makefile.am
index 5cf2700..bc7527b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -44,7 +44,6 @@ SHLIBS_DIRS += shlibs/mount
 endif
 
 SUBDIRS = \
-	getopt \
 	$(SHLIBS_DIRS) \
 	login-utils \
 	misc-utils \
@@ -107,6 +106,7 @@ tests_helpers_test_md5_SOURCES = tests/helpers/test_md5.c lib/md5.c
 include lib/module.am
 include disk-utils/module.am
 include fdisk/module.am
+include getopt/module.am
 
 clean-local:
 	rm -rf tests/output tests/diff
diff --git a/configure.ac b/configure.ac
index bd1657e..5d2644c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1133,7 +1133,6 @@ AC_CONFIG_HEADERS(config.h)
 
 AC_CONFIG_FILES([
 fsck/Makefile
-getopt/Makefile
 hwclock/Makefile
 login-utils/Makefile
 Makefile
diff --git a/getopt/Makefile.am b/getopt/Makefile.am
deleted file mode 100644
index bd3e794..0000000
--- a/getopt/Makefile.am
+++ /dev/null
@@ -1,11 +0,0 @@
-include $(top_srcdir)/config/include-Makefile.am
-
-usrbin_exec_PROGRAMS = getopt
-dist_man_MANS = getopt.1
-
-exampledir = $(datadir)/getopt/
-dist_example_SCRIPTS = getopt-parse.bash getopt-parse.tcsh \
-	getopt-test.bash getopt-test.tcsh
-
-EXTRA_DIST = README Changelog COPYING
-
diff --git a/getopt/module.am b/getopt/module.am
new file mode 100644
index 0000000..67d967a
--- /dev/null
+++ b/getopt/module.am
@@ -0,0 +1,9 @@
+usrbin_exec_PROGRAMS += getopt/getopt
+dist_man_MANS += getopt/getopt.1
+
+exampledir = $(datadir)/getopt/
+dist_example_SCRIPTS = getopt/getopt-parse.bash getopt/getopt-parse.tcsh \
+	getopt/getopt-test.bash getopt/getopt-test.tcsh
+
+EXTRA_DIST += getopt/README getopt/Changelog getopt/COPYING
+
-- 
1.7.1.1

--
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