]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
build-sys: move BUILD_SCHEDUTILS to top-level Makefile
authorKarel Zak <kzak@redhat.com>
Mon, 20 Jun 2011 11:51:26 +0000 (13:51 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 20 Jun 2011 11:51:26 +0000 (13:51 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
Makefile.am
schedutils/Makefile.am

index 01a28bb7e26de1e09d39a5ce9cf92982c309b90f..b016bbdf5e3a9cc508bf8b28e81b126c134e3751 100644 (file)
@@ -27,7 +27,6 @@ SUBDIRS = \
        login-utils \
        misc-utils \
        po \
-       schedutils \
        sys-utils \
        term-utils \
        text-utils \
@@ -53,6 +52,10 @@ if BUILD_FSCK
 SUBDIRS += fsck
 endif
 
+if BUILD_SCHEDUTILS
+SUBDIRS += schedutils
+endif
+
 AUTOMAKE_OPTIONS = gnu
 ACLOCAL_AMFLAGS = -I m4
 
index 91dc9054dcca54bdff23cb2f2c52f2cea6eab49c..a2bb0b3228dbd3805b0396b144f4f15721056336 100644 (file)
@@ -1,7 +1,5 @@
 include $(top_srcdir)/config/include-Makefile.am
 
-if BUILD_SCHEDUTILS
-
 srcs_common = $(top_srcdir)/lib/strutils.c $(top_srcdir)/lib/procutils.c
 
 usrbin_exec_PROGRAMS = chrt
@@ -22,5 +20,3 @@ usrbin_exec_PROGRAMS += taskset
 taskset_SOURCES = taskset.c $(top_srcdir)/lib/cpuset.c $(srcs_common)
 dist_man_MANS += taskset.1
 endif
-
-endif