Skip to content

Commit

Permalink
Enable git-send-email-script on Debian.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Junio C Hamano committed Aug 27, 2005
1 parent 905197d commit 90bc118
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down
7 changes: 7 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
git-core (0.99.5-1) unstable; urgency=low

* Enable git-send-email-script on Debian. There is no reason to shy
away from it, since we have the necessary Perl modules available.

-- Junio C Hamano <junkio@cox.net> Thu, 25 Aug 2005 14:16:59 -0700

git-core (0.99.5-0) unstable; urgency=low

* GIT 0.99.5
Expand Down
3 changes: 3 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ else
export MOZILLA_SHA1=YesPlease
endif

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

PREFIX := /usr
MANDIR := /usr/share/man/
Expand Down

0 comments on commit 90bc118

Please sign in to comment.