summaryrefslogtreecommitdiffstats
path: root/text-utils/Makefile.am
diff options
context:
space:
mode:
authorSami Kerola2011-05-21 15:02:09 +0200
committerKarel Zak2011-05-26 15:03:54 +0200
commitc135a8bdc3b2d21fba2c0e6e09dc785498736061 (patch)
tree6082bb0da8e3a83e2ecd70a76ff250d79c1d46a2 /text-utils/Makefile.am
parentbuild-sys: add required files to dist (diff)
downloadkernel-qcow2-util-linux-c135a8bdc3b2d21fba2c0e6e09dc785498736061.tar.gz
kernel-qcow2-util-linux-c135a8bdc3b2d21fba2c0e6e09dc785498736061.tar.xz
kernel-qcow2-util-linux-c135a8bdc3b2d21fba2c0e6e09dc785498736061.zip
build-sys: stop building line(1) by default
Align build system behaviour with DEPRECATED file. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'text-utils/Makefile.am')
-rw-r--r--text-utils/Makefile.am9
1 files changed, 7 insertions, 2 deletions
diff --git a/text-utils/Makefile.am b/text-utils/Makefile.am
index cc4b8b66d..9ea7a9f3f 100644
--- a/text-utils/Makefile.am
+++ b/text-utils/Makefile.am
@@ -2,7 +2,7 @@ include $(top_srcdir)/config/include-Makefile.am
EXTRA_DIST = README.clear README.col
-usrbin_exec_PROGRAMS = col colcrt colrm column hexdump rev line tailf
+usrbin_exec_PROGRAMS = col colcrt colrm column hexdump rev tailf
column_SOURCES = column.c $(top_srcdir)/lib/strutils.c
@@ -11,7 +11,12 @@ hexdump_SOURCES = hexdump.c conv.c display.c hexsyntax.c parse.c \
tailf_SOURCES = tailf.c $(top_srcdir)/lib/strutils.c
-dist_man_MANS = col.1 colcrt.1 colrm.1 column.1 hexdump.1 rev.1 line.1 tailf.1
+dist_man_MANS = col.1 colcrt.1 colrm.1 column.1 hexdump.1 rev.1 tailf.1
+
+if BUILD_LINE
+usrbin_exec_PROGRAMS += line
+dist_man_MANS += line.1
+endif
if HAVE_NCURSES
bin_PROGRAMS = more