Index: Documentation/Makefile
--- Documentation/Makefile.orig	2025-06-16 07:42:57.000000000 +0200
+++ Documentation/Makefile	2025-06-17 21:01:42.718150000 +0200
@@ -174,12 +174,12 @@
 
 MAKEINFO = makeinfo
 INSTALL_INFO = install-info
-DOCBOOK2X_TEXI = docbook2x-texi
+DOCBOOK2X_TEXI = docbook2texi
 DBLATEX = dblatex
 ASCIIDOC_DBLATEX_DIR = /etc/asciidoc/dblatex
 DBLATEX_COMMON = -p $(ASCIIDOC_DBLATEX_DIR)/asciidoc-dblatex.xsl -s $(ASCIIDOC_DBLATEX_DIR)/asciidoc-dblatex.sty
 ifndef PERL_PATH
-	PERL_PATH = /usr/bin/perl
+	PERL_PATH = perl
 endif
 
 -include ../config.mak.autogen
Index: Makefile
--- Makefile.orig	2025-06-16 07:42:57.000000000 +0200
+++ Makefile	2025-06-17 22:25:36.475469000 +0200
@@ -613,17 +613,17 @@
 
 prefix = $(HOME)
 bindir = $(prefix)/bin
-mandir = $(prefix)/share/man
+mandir = $(prefix)/man
 infodir = $(prefix)/share/info
 bash_completion_dir = $(prefix)/share/bash-completion/completions
-gitexecdir = libexec/git-core
+gitexecdir = libexec/git
 mergetoolsdir = $(gitexecdir)/mergetools
 sharedir = $(prefix)/share
 gitwebdir = $(sharedir)/gitweb
 gitwebstaticdir = $(gitwebdir)/static
 perllibdir = $(sharedir)/perl5
 localedir = $(sharedir)/locale
-template_dir = share/git-core/templates
+template_dir = share/git/templates
 htmldir = $(prefix)/share/doc/git-doc
 ETC_GITCONFIG = $(sysconfdir)/gitconfig
 ETC_GITATTRIBUTES = $(sysconfdir)/gitattributes
@@ -3541,6 +3541,11 @@
 	$(INSTALL) -m 644 $(SCRIPT_LIB) '$(DESTDIR_SQ)$(gitexec_instdir_SQ)'
 	$(INSTALL) $(INSTALL_STRIP) $(install_bindir_xprograms) '$(DESTDIR_SQ)$(bindir_SQ)'
 	$(INSTALL) $(BINDIR_PROGRAMS_NO_X) '$(DESTDIR_SQ)$(bindir_SQ)'
+	$(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(prefix)/lib'
+	$(INSTALL) -m 644 $(LIB_FILE) '$(DESTDIR_SQ)$(prefix)/lib/libgit.a'
+	$(INSTALL) -m 644 $(XDIFF_LIB) '$(DESTDIR_SQ)$(prefix)/lib/libgit-xdiff.a'
+	$(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(prefix)/include/git'
+	for h in $(LIB_H); do b=`echo $$h | sed -e 's;/*[^/][^/]*$$;;'`; $(INSTALL) -d -m 755 $(DESTDIR_SQ)$(prefix)/include/git/$$b; $(INSTALL) -m 644 $$h $(DESTDIR_SQ)$(prefix)/include/git/$$h; done
 
 ifdef MSVC
 	# We DO NOT install the individual foo.o.pdb files because they
Index: builtin/archive.c
--- builtin/archive.c.orig	2025-06-16 07:42:57.000000000 +0200
+++ builtin/archive.c	2025-06-17 21:01:42.718785000 +0200
@@ -3,7 +3,7 @@
  * Copyright (c) 2006 Rene Scharfe
  */
 #include "builtin.h"
-#include "archive.h"
+#include "../archive.h"
 #include "gettext.h"
 #include "transport.h"
 #include "parse-options.h"
Index: builtin/upload-archive.c
--- builtin/upload-archive.c.orig	2025-06-16 07:42:57.000000000 +0200
+++ builtin/upload-archive.c	2025-06-17 21:01:42.718855000 +0200
@@ -3,7 +3,7 @@
  */
 #define USE_THE_REPOSITORY_VARIABLE
 #include "builtin.h"
-#include "archive.h"
+#include "../archive.h"
 #include "path.h"
 #include "pkt-line.h"
 #include "sideband.h"
Index: config.mak.in
--- config.mak.in.orig	2025-06-16 07:42:57.000000000 +0200
+++ config.mak.in	2025-06-17 21:01:42.718929000 +0200
@@ -14,9 +14,9 @@
 prefix = @prefix@
 exec_prefix = @exec_prefix@
 bindir = @bindir@
-gitexecdir = @libexecdir@/git-core
+gitexecdir = @libexecdir@/git
 datarootdir = @datarootdir@
-template_dir = @datadir@/git-core/templates
+template_dir = @datadir@/git/templates
 sysconfdir = @sysconfdir@
 docdir = @docdir@
 
Index: templates/Makefile
--- templates/Makefile.orig	2025-06-16 07:42:57.000000000 +0200
+++ templates/Makefile	2025-06-17 21:01:42.718991000 +0200
@@ -9,7 +9,7 @@
 TAR ?= tar
 RM ?= rm -f
 prefix ?= $(HOME)
-template_instdir ?= $(prefix)/share/git-core/templates
+template_instdir ?= $(prefix)/share/git/templates
 # DESTDIR=
 
 ifndef SHELL_PATH
