aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorEvan Broder <broder@mit.edu>2009-03-24 01:29:06 -0400
committerJohannes Berg <johannes@sipsolutions.net>2009-03-24 08:42:52 +0100
commit3eaeb73dfd1e255342cb7bcf53e9653c0e3c4104 (patch)
tree3626bc1e2a6b298be751684c531957ed73aa7e97 /Makefile
parent2d186fa9ad2d6cad065fabf65048edd3ce82f6df (diff)
downloaddovecot-antispam-3eaeb73dfd1e255342cb7bcf53e9653c0e3c4104.tar.gz
dovecot-antispam-3eaeb73dfd1e255342cb7bcf53e9653c0e3c4104.tar.xz
dovecot-antispam-3eaeb73dfd1e255342cb7bcf53e9653c0e3c4104.zip
Fix Makefile to use DESTDIR when installing for easier packaging.
Signed-off-by: Evan Broder <broder@mit.edu>
Diffstat (limited to '')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a16deed..b833a3f 100644
--- a/Makefile
+++ b/Makefile
@@ -86,7 +86,7 @@ clean:
rm -f *.so *.o *~ dovecot-version dovecot-version.h antispam-version.h
install: all
- install -o $(USER) -g $(GROUP) -m 0755 $(LIBRARY_NAME) $(INSTALLDIR)/
+ install -o $(USER) -g $(GROUP) -m 0755 $(LIBRARY_NAME) $(DESTDIR)$(INSTALLDIR)/
verify_config:
@if [ ! -r $(CONFIG) ]; then \