]> err.no Git - util-linux/commitdiff
blkid: move to misc-utils/ directory
authorKarel Zak <kzak@redhat.com>
Thu, 2 Jul 2009 12:38:23 +0000 (14:38 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 2 Jul 2009 12:38:23 +0000 (14:38 +0200)
The others utilities are in one of the top-level directories. That's
confusing to have blkid(8) and findfs(8) in shlibs/ tree.

Signed-off-by: Karel Zak <kzak@redhat.com>
12 files changed:
configure.ac
misc-utils/.gitignore
misc-utils/Makefile.am
misc-utils/blkid.8 [moved from shlibs/blkid/bin/blkid.8 with 100% similarity]
misc-utils/blkid.c [moved from shlibs/blkid/bin/blkid.c with 100% similarity]
misc-utils/findfs.8 [moved from shlibs/blkid/bin/findfs.8 with 100% similarity]
misc-utils/findfs.c [moved from shlibs/blkid/bin/findfs.c with 100% similarity]
shlibs/blkid/Makefile.am
shlibs/blkid/bin/Makefile.am [deleted file]
shlibs/blkid/bin/blkid.sh.in [deleted file]
shlibs/blkid/bin/findfs.sh.in [deleted file]
tests/commands.sh.in

index 6a870659a7e0a757221cc4f6c55725856dc5b79d..96eb68a0b14f04c120fe1364d7bd50aa8f09c844 100644 (file)
@@ -911,7 +911,6 @@ mount/Makefile
 partx/Makefile
 po/Makefile.in
 schedutils/Makefile
-shlibs/blkid/bin/Makefile
 shlibs/blkid/blkid.pc
 shlibs/blkid/Makefile
 shlibs/blkid/src/Makefile
index e58c9301590f8717f24d4e198a08c33bbdbded9c..2242b9201f3a7e06ee54e4115d950d61346c4aac 100644 (file)
@@ -14,3 +14,5 @@ kill
 write
 uuidgen
 uuidd
+findfs
+blkid
index 272ef75d0298e46ccf82bdbc46505edb9fff3fa1..7c4561c4b9c2dc927959ce11436d706befd64df7 100644 (file)
@@ -3,6 +3,7 @@ include $(top_srcdir)/config/include-Makefile.am
 EXTRA_DIST = README.flushb uuidd.rc
 
 bin_PROGRAMS =
+sbin_PROGRAMS =
 usrsbinexec_PROGRAMS =
 
 usrbinexec_PROGRAMS = cal ddate logger look mcookie \
@@ -31,6 +32,22 @@ uuidd_CFLAGS = -I$(ul_libuuid_srcdir)
 endif
 endif
 
+if BUILD_LIBBLKID
+sbin_PROGRAMS += blkid findfs
+dist_man_MANS += blkid.8 findfs.8
+blkid_LDADD = $(ul_libblkid_la)
+blkid_CFLAGS = -I$(ul_libblkid_srcdir)
+findfs_LDADD = $(ul_libblkid_la)
+findfs_CFLAGS = -I$(ul_libblkid_srcdir)
+if HAVE_STATIC_BLKID
+sbin_PROGRAMS += blkid.static
+blkid_static_SOURCES = $(blkid_SOURCES)
+blkid_static_LDFLAGS = "-all-static"           # libtool option
+blkid_static_LDADD = $(ul_libblkid_la)
+blkid_static_CFLAGS = -I$(ul_libblkid_srcdir)
+endif
+endif
+
 if HAVE_TINFO
 cal_LDADD = -ltinfo @NCURSES_LIBS@
 else
similarity index 100%
rename from shlibs/blkid/bin/blkid.8
rename to misc-utils/blkid.8
similarity index 100%
rename from shlibs/blkid/bin/blkid.c
rename to misc-utils/blkid.c
index a27c85248d93fa4e383d994f39857aaa3f40b356..9c552bfdeee368de343d8611109db0099292c2c2 100644 (file)
@@ -1,6 +1,6 @@
 include $(top_srcdir)/config/include-Makefile.am
 
-SUBDIRS = src bin
+SUBDIRS = src
 
 # pkg-config stuff
 pkgconfigdir = $(usrlibexecdir)/pkgconfig
diff --git a/shlibs/blkid/bin/Makefile.am b/shlibs/blkid/bin/Makefile.am
deleted file mode 100644 (file)
index ff992ac..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-include $(top_srcdir)/config/include-Makefile.am
-
-AM_CPPFLAGS += -I$(ul_libblkid_srcdir)
-AM_LDFLAGS += $(ul_libblkid_la)
-
-sbin_PROGRAMS = blkid findfs
-dist_man_MANS = blkid.8 findfs.8
-
-if HAVE_STATIC_BLKID
-sbin_PROGRAMS += blkid.static
-blkid_static_SOURCES = $(blkid_SOURCES)
-blkid_static_LDFLAGS = "-all-static"           # libtool option
-blkid_static_LDADD = $(ul_libblkid_la)
-blkid_static_CFLAGS = -I$(ul_libblkid_srcdir)
-endif
diff --git a/shlibs/blkid/bin/blkid.sh.in b/shlibs/blkid/bin/blkid.sh.in
deleted file mode 100644 (file)
index 3e10add..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/bash
-
-# libtool? Don't ask!
-
-BLKIDDIR=@SRCDIR@/libs/blkid
-BINARY=$BLKIDDIR/bin/blkid
-LD_LIBRARY_PATH=$BLKIDDIR/src/
-
-export LD_LIBRARY_PATH
-exec $BINARY $@
diff --git a/shlibs/blkid/bin/findfs.sh.in b/shlibs/blkid/bin/findfs.sh.in
deleted file mode 100644 (file)
index 37876c7..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/bash
-
-# libtool? Don't ask!
-
-BLKIDDIR=@SRCDIR@/libs/blkid
-BINARY=$BLKIDDIR/bin/findfs
-LD_LIBRARY_PATH=$BLKIDDIR/src/
-
-export LD_LIBRARY_PATH
-exec $BINARY $@
index 3dc4192ee14a68f7edf49256c0ed77642b46acc6..f9eeec144a1af19d866188568948419d43245f80 100644 (file)
@@ -45,6 +45,6 @@ TS_CMD_ISLOCAL=${TS_CMD_ISLOCAL-"$TOPDIR/login-utils/islocal_test"}
 TS_CMD_HWCLOCK=${TS_CMD_HWCLOCK-"$TOPDIR/hwclock/hwclock"}
 TS_CMD_LSCPU=${TS_CMD_LSCPU-"$TOPDIR/sys-utils/lscpu"}
 
-TS_CMD_BLKID=${TS_CMD_BLKID-"$TOPDIR/shlibs/blkid/bin/blkid"}
+TS_CMD_BLKID=${TS_CMD_BLKID-"$TOPDIR/misc-utils/blkid"}
 
 TS_CMD_FDISK=${TS_CMD_FDISK-"$TOPDIR/fdisk/fdisk"}