summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-01-22 01:51:34 +0300
committerIgor Pashev <pashev.igor@gmail.com>2012-01-22 01:51:34 +0300
commitddd259e848ebbca654dae796246e56907a1bb3e0 (patch)
treedf6122357aeb7dce4f5c8f5f5aa73b56d300417f
parent0797f70dcded9a2aba8778dfe78288ef0c1433be (diff)
downloadutil-linux-old-ddd259e848ebbca654dae796246e56907a1bb3e0.tar.gz
Do not build fdisk and disk-utils if not linux
-rw-r--r--Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index eb1e8d88..1358de34 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -19,8 +19,6 @@ MAN_DIRS = man/ru
SUBDIRS = \
gnulib \
include \
- disk-utils \
- fdisk \
getopt \
lib \
$(SHLIBS_DIRS) \
@@ -30,9 +28,11 @@ SUBDIRS = \
po \
schedutils \
sys-utils \
- text-utils \
- tests
+ text-utils
+if LINUX
+SUBDIRS += disk-utils fdisk tests
+endif
RCS_FIND_IGNORE := \( -name SCCS -o -name BitKeeper -o -name .svn -o \
-name CVS -o -name .pc -o -name .hg -o -name .git \) -prune -o