INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
-SETGID_MAIL = @SETGID_MAIL@
+MAIL_SPOOL_GRP = @MAIL_SPOOL_GRP@
+SETGID_MAIL = @SETGID_MAIL@
.SUFFIXES:
.SUFFIXES: .c .o
# commands to build
CMDS = ali anno burst comp dist flist folder forw mark mhbuild \
- mhlist mhmail mhn mhparam mhpath mhshow mhstore mhtest msgchk \
+ mhlist mhmail mhn mhparam mhpath mhshow mhstore msgchk \
msh packf pick prompter refile repl rmf rmm scan send show \
sortm viamail whatnow whom
# misc support binaries
MISC = ap conflict dp fmtdump install-mh mhl post rcvdist rcvpack \
- rcvstore rcvtty slocal spost
+ rcvstore rcvtty slocal spost mhtest
# commands with 'S'pecial installation needs
SCMDS = inc
# install commands with special installation needs (thus no $(SCMDS) use here)
install-scmds:
- if test x$(SETGID_MAIL) = x1; then \
- $(INSTALL_PROGRAM) -g mail -m 2755 inc $(bindir)/$$cmd; \
+ if test x$(SETGID_MAIL) != x; then \
+ $(INSTALL_PROGRAM) -g $(MAIL_SPOOL_GRP) -m 2755 inc $(bindir)/$$cmd; \
else \
$(INSTALL_PROGRAM) inc $(bindir)/$$cmd; \
fi