summaryrefslogtreecommitdiffstats
path: root/disk-utils
diff options
context:
space:
mode:
authorSamuel Thibault2007-11-04 16:54:27 +0100
committerKarel Zak2007-11-08 02:26:36 +0100
commit3bbc9320791e2768eb0ddda3823cb55ad63f79e1 (patch)
treea1de51c23dc935a2deb760d167434b7864eec784 /disk-utils
parentmore: non-linux support (diff)
downloadkernel-qcow2-util-linux-3bbc9320791e2768eb0ddda3823cb55ad63f79e1.tar.gz
kernel-qcow2-util-linux-3bbc9320791e2768eb0ddda3823cb55ad63f79e1.tar.xz
kernel-qcow2-util-linux-3bbc9320791e2768eb0ddda3823cb55ad63f79e1.zip
build-sys: non-linux support
Here is a patch that disables linux-specific tools on non-linux targets. Signed-Off-By: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-Off-By: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils')
-rw-r--r--disk-utils/Makefile.am9
1 files changed, 7 insertions, 2 deletions
diff --git a/disk-utils/Makefile.am b/disk-utils/Makefile.am
index 397d8efb4..eadc89d6d 100644
--- a/disk-utils/Makefile.am
+++ b/disk-utils/Makefile.am
@@ -1,6 +1,6 @@
include $(top_srcdir)/config/include-Makefile.am
-man_MANS = blockdev.8 fdformat.8 isosize.8 mkfs.8 mkswap.8 \
+man_MANS = blockdev.8 isosize.8 mkfs.8 mkswap.8 \
fsck.minix.8 mkfs.minix.8 mkfs.bfs.8
sbin_PROGRAMS = mkfs mkswap blockdev fsck.minix mkfs.minix mkfs.bfs
@@ -10,7 +10,12 @@ mkfs_bfs_SOURCES = mkfs.bfs.c
mkswap_SOURCES = mkswap.c swapheader.h ../lib/linux_version.c ../lib/blkdev.c
blockdev_SOURCES = blockdev.c ../lib/linux_version.c ../lib/blkdev.c
-usrbinexec_PROGRAMS = fdformat isosize
+usrbinexec_PROGRAMS = isosize
+
+if LINUX
+man_MANS += fdformat.8
+usrbinexec_PROGRAMS += fdformat
+endif
if BUILD_ELVTUNE
sbin_PROGRAMS += elvtune