summaryrefslogtreecommitdiffstats
path: root/disk-utils/Makemodule.am
diff options
context:
space:
mode:
Diffstat (limited to 'disk-utils/Makemodule.am')
-rw-r--r--disk-utils/Makemodule.am12
1 files changed, 6 insertions, 6 deletions
diff --git a/disk-utils/Makemodule.am b/disk-utils/Makemodule.am
index 4e3284745..def18c7f5 100644
--- a/disk-utils/Makemodule.am
+++ b/disk-utils/Makemodule.am
@@ -107,18 +107,18 @@ test_fsck_cramfs_LDADD = $(fsck_cramfs_LDADD)
test_fsck_cramfs_CFLAGS = $(AM_CFLAGS) -DINCLUDE_FS_TESTS
endif
+if BUILD_FDFORMAT
+usrsbin_exec_PROGRAMS += fdformat
+dist_man_MANS += disk-utils/fdformat.8
+fdformat_SOURCES = disk-utils/fdformat.c
+endif
if LINUX
sbin_PROGRAMS += blockdev
dist_man_MANS += disk-utils/blockdev.8
blockdev_SOURCES = disk-utils/blockdev.c
blockdev_LDADD = $(LDADD) libcommon.la
-
-usrsbin_exec_PROGRAMS += fdformat
-dist_man_MANS += disk-utils/fdformat.8
-fdformat_SOURCES = disk-utils/fdformat.c
-endif # LINUX
-
+endif
if BUILD_PARTX
usrsbin_exec_PROGRAMS += partx addpart delpart resizepart