diff options
Diffstat (limited to 'src/Makefile.in')
-rw-r--r-- | src/Makefile.in | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index 05e144f2..95f57705 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -1,4 +1,4 @@ -# Copyright (C) 1998,1999,2000,2001,2002 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2003 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -25,6 +25,7 @@ exec_prefix= @exec_prefix@ VPATH= @srcdir@ srcdir= @srcdir@ bindir= @bindir@ +DESTDIR= CC= @CC@ CHMOD= @CHMOD@ @@ -107,22 +108,22 @@ vsnprintf.o: $(srcdir)/vsnprintf.c Makefile install: all for f in $(CGI_PROGS); \ do \ - exe=$(CGIDIR)/$$f$(CGIEXT); \ + exe=$(DESTDIR)$(CGIDIR)/$$f$(CGIEXT); \ $(INSTALL_PROGRAM) $$f $$exe; \ $(DIRSETGID) $$exe; \ done for f in $(MAIL_PROGS); \ do \ - $(INSTALL_PROGRAM) $$f $(MAILDIR); \ - $(DIRSETGID) $(MAILDIR)/$$f; \ + $(INSTALL_PROGRAM) $$f $(DESTDIR)$(MAILDIR); \ + $(DIRSETGID) $(DESTDIR)$(MAILDIR)/$$f; \ done finish: -for f in $(SUID_CGI_PROGS); \ do \ - exe=$(CGIDIR)/$$f$(CGIEXT); \ - chmod u+s $$exe; \ + exe=$(DESTDIR)$(CGIDIR)/$$f$(CGIEXT); \ chown $(MAILMAN_USER) $$exe; \ + chmod u+s $$exe; \ done clean: |