From 4aa9d65bfa76afd0d886ca410ae83428a490d4ea Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sun, 12 Jun 2011 00:19:45 +0200 Subject: build-sys: move write to term-utils directory Signed-off-by: Sami Kerola --- term-utils/Makefile.am | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'term-utils/Makefile.am') diff --git a/term-utils/Makefile.am b/term-utils/Makefile.am index c40d9db86..5e03560f1 100644 --- a/term-utils/Makefile.am +++ b/term-utils/Makefile.am @@ -55,12 +55,20 @@ if BUILD_WALL usrbin_exec_PROGRAMS += wall wall_SOURCES = wall.c ttymsg.c ttymsg.h $(top_srcdir)/lib/strutils.c dist_man_MANS += wall.1 +endif + +if BUILD_WRITE +usrbin_exec_PROGRAMS += write +dist_man_MANS += write.1 +write_CFLAGS = $(SUID_CFLAGS) $(AM_CFLAGS) +write_LDFLAGS = $(SUID_LDFLAGS) $(AM_LDFLAGS) +endif if USE_TTY_GROUP if MAKEINSTALL_DO_CHOWN install-exec-hook:: - chgrp tty $(DESTDIR)$(usrbin_execdir)/wall - chmod g+s $(DESTDIR)$(usrbin_execdir)/wall -endif + chgrp tty $(DESTDIR)$(usrbin_execdir)/wall $(DESTDIR)$(usrbin_execdir)/write + chmod g+s $(DESTDIR)$(usrbin_execdir)/wall $(DESTDIR)$(usrbin_execdir)/write + endif endif -- cgit v1.2.3-55-g7522