aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbwarsaw <>2003-03-31 19:27:17 +0000
committerbwarsaw <>2003-03-31 19:27:17 +0000
commit5a6aeea41cd141bc4e962381284cbeeefa7bf4d9 (patch)
treeefba6023c0619ad9908383f8ee12783eee262cb9 /src
parent0a8e4b05e6dcc298e1d02bf8e5db4e0618e88c00 (diff)
downloadmailman2-5a6aeea41cd141bc4e962381284cbeeefa7bf4d9.tar.gz
mailman2-5a6aeea41cd141bc4e962381284cbeeefa7bf4d9.tar.xz
mailman2-5a6aeea41cd141bc4e962381284cbeeefa7bf4d9.zip
Backporting SF patch #683906, add $DESTDIR to install target, by
Ademar de Souza Reis Jr
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.in13
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: