Skip to content

Commit 90bc118

Browse files
author
Junio C Hamano
committed
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>
1 parent 905197d commit 90bc118

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ SCRIPTS=git git-apply-patch-script git-merge-one-file-script git-prune-script \
6969
git-request-pull-script git-bisect-script
7070

7171
SCRIPTS += git-count-objects-script
72-
# SCRIPTS += git-send-email-script
7372
SCRIPTS += git-revert-script
7473
SCRIPTS += git-octopus-script
7574

@@ -87,6 +86,10 @@ PROG= git-update-cache git-diff-files git-init-db git-write-tree \
8786
git-show-index git-daemon git-var git-peek-remote git-show-branch \
8887
git-update-server-info git-show-rev-cache git-build-rev-cache
8988

89+
ifdef WITH_SEND_EMAIL
90+
SCRIPTS += git-send-email-script
91+
endif
92+
9093
ifndef NO_CURL
9194
PROG+= git-http-pull
9295
endif

debian/changelog

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
git-core (0.99.5-1) unstable; urgency=low
2+
3+
* Enable git-send-email-script on Debian. There is no reason to shy
4+
away from it, since we have the necessary Perl modules available.
5+
6+
-- Junio C Hamano <junkio@cox.net> Thu, 25 Aug 2005 14:16:59 -0700
7+
18
git-core (0.99.5-0) unstable; urgency=low
29

310
* GIT 0.99.5

debian/rules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ else
2525
export MOZILLA_SHA1=YesPlease
2626
endif
2727

28+
# We do have the requisite perl modules in the mainline, and
29+
# have no reason to shy away from this script.
30+
export WITH_SEND_EMAIL=YesPlease
2831

2932
PREFIX := /usr
3033
MANDIR := /usr/share/man/

0 commit comments

Comments
 (0)