diff options
author | Karel Zak <kzak@redhat.com> | 2007-08-14 14:32:45 +0200 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2007-08-14 14:32:45 +0200 |
commit | f3831bbd801135d7e618725cdfd7ff99f52e33a6 (patch) | |
tree | c82abe1e7e593297558cce310ed74644f542013f /login-utils | |
parent | dcb219b313b595dea375ec6758641bb09845d8a4 (diff) | |
download | util-linux-old-f3831bbd801135d7e618725cdfd7ff99f52e33a6.tar.gz |
build-sys: add --disable-makeinstall-chown
A chown-like operations are unexpected when you execute "make install"
as non-root user. For example RPM defines owner+permissions in .spec
file -- you needn't to use root account to create useful RPM package.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'login-utils')
-rw-r--r-- | login-utils/Makefile.am | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/login-utils/Makefile.am b/login-utils/Makefile.am index 639db58c..de45f26f 100644 --- a/login-utils/Makefile.am +++ b/login-utils/Makefile.am @@ -26,7 +26,7 @@ if NEED_LIBCRYPT simpleinit_LDADD = -lcrypt endif -endif +endif if BUILD_LAST usrbinexec_PROGRAMS += last @@ -101,17 +101,17 @@ man_MANS += mesg.1 endif if BUILD_WALL - usrbinexec_PROGRAMS += wall wall_SOURCES = wall.c ttymsg.c ttymsg.h man_MANS += wall.1 if USE_TTY_GROUP +if MAKEINSTALL_DO_CHOWN install-exec-hook:: chgrp tty $(DESTDIR)$(usrbinexecdir)/wall chmod g+s $(DESTDIR)$(usrbinexecdir)/wall endif - +endif endif if BUILD_INIT |