]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
build-sys: move wall to term-utils/
authorKarel Zak <kzak@redhat.com>
Wed, 2 Mar 2011 13:20:33 +0000 (14:20 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 2 Mar 2011 13:20:33 +0000 (14:20 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/Makefile.am
term-utils/Makefile.am
term-utils/ttymsg.c [moved from login-utils/ttymsg.c with 100% similarity]
term-utils/ttymsg.h [moved from login-utils/ttymsg.h with 100% similarity]
term-utils/wall.1 [moved from login-utils/wall.1 with 100% similarity]
term-utils/wall.c [moved from login-utils/wall.c with 100% similarity]

index d2f9eb38192195aeafcfe955c9308244a5b954b9..0bedc0632be03836fe850e211d6bf437f93c48cf 100644 (file)
@@ -74,20 +74,6 @@ install-exec-hook::
 
 endif
 
-if BUILD_WALL
-usrbin_exec_PROGRAMS += wall
-wall_SOURCES = wall.c ttymsg.c ttymsg.h
-dist_man_MANS += wall.1
-
-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
-endif
-endif
-
 noinst_PROGRAMS = checktty_test islocal_test
 checktty_test_SOURCES = checktty.c login.h
 checktty_test_CPPFLAGS = -DMAIN_TEST_CHECKTTY $(AM_CPPFLAGS)
index c14c1489afc483767f8a20cb9695118356784e08..26f924401cbcee263d51700b2cb123c3b8386a1f 100644 (file)
@@ -50,3 +50,17 @@ if BUILD_MESG
 usrbin_exec_PROGRAMS += mesg
 dist_man_MANS += mesg.1
 endif
+
+if BUILD_WALL
+usrbin_exec_PROGRAMS += wall
+wall_SOURCES = wall.c ttymsg.c ttymsg.h
+dist_man_MANS += wall.1
+
+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
+endif
+endif
similarity index 100%
rename from login-utils/ttymsg.c
rename to term-utils/ttymsg.c
similarity index 100%
rename from login-utils/ttymsg.h
rename to term-utils/ttymsg.h
similarity index 100%
rename from login-utils/wall.1
rename to term-utils/wall.1
similarity index 100%
rename from login-utils/wall.c
rename to term-utils/wall.c