~ubuntu-branches/ubuntu/intrepid/git-core/intrepid-updates

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Package Import Robot
  • Author(s): Gerrit Pape
  • Date: 2007-05-01 08:59:06 UTC
  • mfrom: (1.1.15)
  • Revision ID: package-import@ubuntu.com-20070501085906-n1e5qzoc00wvlzt3
Tags: 1:1.5.1.3-1
* new upstream point release.
  * git-add tried to optimize by finding common leading directories
    across its arguments but botched, causing very confused behaviour
    (closes: #420671).
  * Documentation/git-reset.txt: suggest git commit --amend in example
    (closes: #420112).
  * unofficial rpm.spec file shipped with git was letting ETC_GITCONFIG
    set to /usr/etc/gitconfig.  Tweak the official Makefile to make it
    harder for distro people to make the same mistake, by setting the
    variable to /etc/gitconfig if prefix is set to /usr (closes:
    #420675).
* debian/changelog.upstream: upstream changes taken from mailing list
  announcement.

Show diffs side-by-side

added added

removed removed

Lines of Context:
133
133
bindir = $(prefix)/bin
134
134
gitexecdir = $(bindir)
135
135
template_dir = $(prefix)/share/git-core/templates/
136
 
ETC_GITCONFIG = $(prefix)/etc/gitconfig
 
136
ifeq ($(prefix),/usr)
 
137
sysconfdir = /etc
 
138
else
 
139
sysconfdir = $(prefix)/etc
 
140
endif
 
141
ETC_GITCONFIG = $(sysconfdir)/gitconfig
137
142
# DESTDIR=
138
143
 
139
144
# default configuration for gitweb
152
157
GITWEB_SITE_HEADER =
153
158
GITWEB_SITE_FOOTER =
154
159
 
155
 
export prefix bindir gitexecdir template_dir
 
160
export prefix bindir gitexecdir template_dir sysconfdir
156
161
 
157
162
CC = gcc
158
163
AR = ar