diff options
author | Samuel Thibault | 2007-11-04 16:54:27 +0100 |
---|---|---|
committer | Karel Zak | 2007-11-08 02:26:36 +0100 |
commit | 3bbc9320791e2768eb0ddda3823cb55ad63f79e1 (patch) | |
tree | a1de51c23dc935a2deb760d167434b7864eec784 /disk-utils | |
parent | more: non-linux support (diff) | |
download | kernel-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.am | 9 |
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 |