summaryrefslogtreecommitdiffstats
path: root/term-utils/Makemodule.am
diff options
context:
space:
mode:
authorKarel Zak2014-05-21 13:58:03 +0200
committerKarel Zak2014-05-21 13:58:03 +0200
commit3f91b9902b7333c42d74f655a57532a0b8f15859 (patch)
tree887025e110ece6067eac90dda1705198516e77c0 /term-utils/Makemodule.am
parentbuild-sys: add BUILD_ vars for all Linux-only utils (diff)
downloadkernel-qcow2-util-linux-3f91b9902b7333c42d74f655a57532a0b8f15859.tar.gz
kernel-qcow2-util-linux-3f91b9902b7333c42d74f655a57532a0b8f15859.tar.xz
kernel-qcow2-util-linux-3f91b9902b7333c42d74f655a57532a0b8f15859.zip
build-sys: add BUILD_{SCRIPT,SCRIPTREPLAY}
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'term-utils/Makemodule.am')
-rw-r--r--term-utils/Makemodule.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/term-utils/Makemodule.am b/term-utils/Makemodule.am
index 39fddc9a0..5c73f3e5e 100644
--- a/term-utils/Makemodule.am
+++ b/term-utils/Makemodule.am
@@ -1,4 +1,4 @@
-
+if BUILD_SCRIPT
usrbin_exec_PROGRAMS += script
dist_man_MANS += term-utils/script.1
script_SOURCES = term-utils/script.c
@@ -9,11 +9,13 @@ endif
if HAVE_UTEMPTER
script_LDADD += -lutempter
endif
+endif # BUILD_SCRIPT
-
+if BUILD_SCRIPTREPLAY
usrbin_exec_PROGRAMS += scriptreplay
dist_man_MANS += term-utils/scriptreplay.1
scriptreplay_SOURCES = term-utils/scriptreplay.c
+endif # BUILD_SCRIPTREPLAY
if BUILD_AGETTY