mirror of
https://github.com/git/git.git
synced 2026-03-13 18:33:25 +01:00
Fix 'make install' of the repository templates.
In 2d84ffaf0d the path to the template
directory was modified to be relative. However, since this setting is passed
down to templates/Makefile, it installed the templates in the build
directory. This works around the problem by not allowing the installation
directory to be overridable.
This commit is contained in:
@@ -7,7 +7,7 @@ endif
|
||||
INSTALL ?= install
|
||||
TAR ?= tar
|
||||
prefix ?= $(HOME)
|
||||
template_dir ?= $(prefix)/share/git-core/templates/
|
||||
template_dir = $(prefix)/share/git-core/templates/
|
||||
# DESTDIR=
|
||||
# set NOEXECTEMPL to non-empty to change the names of hook scripts
|
||||
# so that the tools will not find them
|
||||
|
||||
Reference in New Issue
Block a user