]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
build-sys: convert include/ to module
authorKarel Zak <kzak@redhat.com>
Wed, 16 May 2012 13:05:11 +0000 (15:05 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 26 Jun 2012 15:08:57 +0000 (17:08 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
Makefile.am
configure.ac
include/Makefile.am [deleted file]
include/Makemodule.am [new file with mode: 0644]

index 0f641418904e141ce798fed11364b2b2d13afd9e..1e5ac615f52340968d7fe3c9a704601d813ec564 100644 (file)
@@ -1,5 +1,8 @@
 include $(top_srcdir)/config/include-Makefile.am
 
+dist_noinst_HEADERS =
+
+
 SHLIBS_DIRS =
 
 if BUILD_LIBUUID
@@ -22,7 +25,6 @@ SUBDIRS = \
        disk-utils \
        fdisk \
        getopt \
-       include \
        lib \
        login-utils \
        misc-utils \
@@ -62,6 +64,10 @@ EXTRA_DIST = \
        po/update-potfiles \
        README.licensing
 
+
+include include/Makemodule.am
+
+
 # Arrange so that .tarball-version appears only in the distribution
 # tarball, and never in a checked-out repository.
 dist-hook:
index 046a0679d82fabf5ad8cf8a2be774a8b967e1273..055a7de4ca3973f7a4afdd2ec1744f4e6a57d78e 100644 (file)
@@ -1304,7 +1304,6 @@ disk-utils/Makefile
 fdisk/Makefile
 getopt/Makefile
 hwclock/Makefile
-include/Makefile
 lib/Makefile
 libblkid/Makefile
 libblkid/blkid.pc
diff --git a/include/Makefile.am b/include/Makefile.am
deleted file mode 100644 (file)
index 82164e4..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-include $(top_srcdir)/config/include-Makefile.am
-
-dist_noinst_HEADERS = \
-       all-io.h \
-       at.h \
-       bitops.h \
-       blkdev.h \
-       c.h \
-       canonicalize.h \
-       carefulputc.h \
-       closestream.h \
-       cpuset.h \
-       crc32.h \
-       env.h \
-       exitcodes.h \
-       fileutils.h \
-       ismounted.h \
-       linux_reboot.h \
-       linux_version.h \
-       list.h \
-       loopdev.h \
-       mangle.h \
-       match.h \
-       mbsalign.h \
-       md5.h \
-       minix.h \
-       nls.h \
-       optutils.h \
-       pamfail.h \
-       path.h \
-       pathnames.h \
-       procutils.h \
-       randutils.h \
-       rpmatch.h \
-       setproctitle.h \
-       strutils.h \
-       swapheader.h \
-       sysfs.h \
-       tt.h \
-       ttyutils.h \
-       usleep.h \
-       wholedisk.h \
-       widechar.h \
-       xalloc.h \
-       xgetpass.h
diff --git a/include/Makemodule.am b/include/Makemodule.am
new file mode 100644 (file)
index 0000000..087bb41
--- /dev/null
@@ -0,0 +1,44 @@
+
+dist_noinst_HEADERS += \
+       include/all-io.h \
+       include/at.h \
+       include/bitops.h \
+       include/blkdev.h \
+       include/c.h \
+       include/canonicalize.h \
+       include/carefulputc.h \
+       include/closestream.h \
+       include/cpuset.h \
+       include/crc32.h \
+       include/env.h \
+       include/exitcodes.h \
+       include/fileutils.h \
+       include/ismounted.h \
+       include/linux_reboot.h \
+       include/linux_version.h \
+       include/list.h \
+       include/loopdev.h \
+       include/mangle.h \
+       include/match.h \
+       include/mbsalign.h \
+       include/md5.h \
+       include/minix.h \
+       include/nls.h \
+       include/optutils.h \
+       include/pamfail.h \
+       include/path.h \
+       include/pathnames.h \
+       include/procutils.h \
+       include/randutils.h \
+       include/rpmatch.h \
+       include/setproctitle.h \
+       include/strutils.h \
+       include/swapheader.h \
+       include/sysfs.h \
+       include/tt.h \
+       include/ttyutils.h \
+       include/usleep.h \
+       include/wholedisk.h \
+       include/widechar.h \
+       include/xalloc.h \
+       include/xgetpass.h