File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ PROGRAMS = \
170170BUILT_INS = git-log$X
171171
172172# what 'all' will build and 'install' will install, in gitexecdir
173- ALL_PROGRAMS = $(PROGRAMS ) $(SIMPLE_PROGRAMS ) $(BUILT_INS ) $( SCRIPTS )
173+ ALL_PROGRAMS = $(PROGRAMS ) $(SIMPLE_PROGRAMS ) $(SCRIPTS )
174174
175175# Backward compatibility -- to be removed after 1.0
176176PROGRAMS += git-ssh-pull$X git-ssh-push$X
@@ -450,7 +450,7 @@ LIB_OBJS += $(COMPAT_OBJS)
450450export prefix TAR INSTALL DESTDIR SHELL_PATH template_dir
451451# ## Build rules
452452
453- all : $(ALL_PROGRAMS ) git$X gitk
453+ all : $(ALL_PROGRAMS ) $( BUILT_INS ) git$X gitk
454454
455455all :
456456 $(MAKE ) -C templates
@@ -617,6 +617,7 @@ install: all
617617 $(MAKE ) -C templates install
618618 $(INSTALL ) -d -m755 ' $(DESTDIR_SQ)$(GIT_PYTHON_DIR_SQ)'
619619 $(INSTALL ) $(PYMODULES ) ' $(DESTDIR_SQ)$(GIT_PYTHON_DIR_SQ)'
620+ $(foreach p,$(BUILT_INS ) , rm -f '$(DESTDIR_SQ )$(bindir_SQ ) /$p' && ln '$(DESTDIR_SQ )$(bindir_SQ ) /git$X' '$(DESTDIR_SQ )$(bindir_SQ ) /$p' ;)
620621
621622install-doc :
622623 $(MAKE ) -C Documentation install
You can’t perform that action at this time.
0 commit comments