From 87d04a3339252c023bf9025c38c0ec7d3f5ee817 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 13 Jul 2017 13:46:52 +0200 Subject: [PATCH] partx: move partx.h to include/ Let's make the ioctls usable also for libfdisk. Signed-off-by: Karel Zak --- disk-utils/Makemodule.am | 16 ++++------------ include/Makemodule.am | 1 + {disk-utils => include}/partx.h | 0 3 files changed, 5 insertions(+), 12 deletions(-) rename {disk-utils => include}/partx.h (100%) diff --git a/disk-utils/Makemodule.am b/disk-utils/Makemodule.am index 49bfe8e189..bea0ed6a6f 100644 --- a/disk-utils/Makemodule.am +++ b/disk-utils/Makemodule.am @@ -212,24 +212,16 @@ dist_man_MANS += \ disk-utils/resizepart.8 \ disk-utils/partx.8 -addpart_SOURCES = \ - disk-utils/addpart.c \ - disk-utils/partx.h +addpart_SOURCES = disk-utils/addpart.c addpart_LDADD = $(LDADD) libcommon.la -delpart_SOURCES = \ - disk-utils/delpart.c \ - disk-utils/partx.h +delpart_SOURCES = disk-utils/delpart.c delpart_LDADD = $(LDADD) libcommon.la -resizepart_SOURCES = \ - disk-utils/resizepart.c \ - disk-utils/partx.h +resizepart_SOURCES = disk-utils/resizepart.c resizepart_LDADD = $(LDADD) libcommon.la -partx_SOURCES = \ - disk-utils/partx.c \ - disk-utils/partx.h +partx_SOURCES = disk-utils/partx.c partx_CFLAGS = $(AM_CFLAGS) -I$(ul_libblkid_incdir) -I$(ul_libsmartcols_incdir) partx_LDADD = $(LDADD) libblkid.la libcommon.la libsmartcols.la diff --git a/include/Makemodule.am b/include/Makemodule.am index 7ea1a48246..237400b056 100644 --- a/include/Makemodule.am +++ b/include/Makemodule.am @@ -34,6 +34,7 @@ dist_noinst_HEADERS += \ include/optutils.h \ include/pager.h \ include/pamfail.h \ + include/partx.h \ include/path.h \ include/pathnames.h \ include/plymouth-ctrl.h \ diff --git a/disk-utils/partx.h b/include/partx.h similarity index 100% rename from disk-utils/partx.h rename to include/partx.h -- 2.47.3