summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-08-25 23:31:43 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-08-27 04:46:32 (GMT)
commit90bc118fc53916a623cad84e72b7dec597907b1e (patch)
treed1225ecd6b5f7be78e0c2e7f94b5907bfac2390a /Makefile
parent905197de9f8f1a2ce619ac888ab7a2e1a67acb56 (diff)
downloadgit-90bc118fc53916a623cad84e72b7dec597907b1e.zip
git-90bc118fc53916a623cad84e72b7dec597907b1e.tar.gz
git-90bc118fc53916a623cad84e72b7dec597907b1e.tar.bz2
Enable git-send-email-script on Debian.
You can define WITH_SEND_EMAIL to include the send-email command as part of the installation. Since Debian, unlike RPM/Fedora, has the two necessary Perl modules available as part of the mainline distribution, there is no reason for us to shy away from shipping send-email. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index adb4965..c0fdaa7 100644
--- a/Makefile
+++ b/Makefile
@@ -69,7 +69,6 @@ SCRIPTS=git git-apply-patch-script git-merge-one-file-script git-prune-script \
git-request-pull-script git-bisect-script
SCRIPTS += git-count-objects-script
-# SCRIPTS += git-send-email-script
SCRIPTS += git-revert-script
SCRIPTS += git-octopus-script
@@ -87,6 +86,10 @@ PROG= git-update-cache git-diff-files git-init-db git-write-tree \
git-show-index git-daemon git-var git-peek-remote git-show-branch \
git-update-server-info git-show-rev-cache git-build-rev-cache
+ifdef WITH_SEND_EMAIL
+SCRIPTS += git-send-email-script
+endif
+
ifndef NO_CURL
PROG+= git-http-pull
endif