build-sys: move write to term-utils directory
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
8839c0f60f
commit
4aa9d65bfa
|
@ -10,7 +10,6 @@ rename
|
|||
script
|
||||
whereis
|
||||
kill
|
||||
write
|
||||
uuidgen
|
||||
uuidd
|
||||
findfs
|
||||
|
|
|
@ -115,18 +115,3 @@ if BUILD_RENAME
|
|||
usrbin_exec_PROGRAMS += rename
|
||||
dist_man_MANS += rename.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)
|
||||
|
||||
if USE_TTY_GROUP
|
||||
if MAKEINSTALL_DO_CHOWN
|
||||
install-exec-hook::
|
||||
chgrp tty $(DESTDIR)$(usrbin_execdir)/write
|
||||
chmod g+s $(DESTDIR)$(usrbin_execdir)/write
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
|
|
@ -4,3 +4,4 @@ script
|
|||
scriptreplay
|
||||
setterm
|
||||
wall
|
||||
write
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue