sunshine: 2025.118.151840 -> 2025.122.141614 (#376248)
[NixPkgs.git] / pkgs / applications / version-management / git / docbook2texi.patch
blobf8f8ab86a9ce5aa9e641cd698e71490edc432901
1 This patch does two things: (1) use the right name for `docbook2texi',
2 and (2) make sure `gitman.info' isn't produced since it's broken (duplicate
3 node names).
5 diff --git a/Documentation/Makefile b/Documentation/Makefile
6 index 26a2342bea..ceccd67ebb 100644
7 --- a/Documentation/Makefile
8 +++ b/Documentation/Makefile
9 @@ -132,7 +132,7 @@ HTML_REPO = ../../git-htmldocs
11 MAKEINFO = makeinfo
12 INSTALL_INFO = install-info
13 -DOCBOOK2X_TEXI = docbook2x-texi
14 +DOCBOOK2X_TEXI = docbook2texi
15 DBLATEX = dblatex
16 ASCIIDOC_DBLATEX_DIR = /etc/asciidoc/dblatex
17 DBLATEX_COMMON = -p $(ASCIIDOC_DBLATEX_DIR)/asciidoc-dblatex.xsl -s $(ASCIIDOC_DBLATEX_DIR)/asciidoc-dblatex.sty
18 @@ -250,7 +250,7 @@ man1: $(DOC_MAN1)
19 man5: $(DOC_MAN5)
20 man7: $(DOC_MAN7)
22 -info: git.info gitman.info
23 +info: git.info
25 pdf: user-manual.pdf
27 @@ -266,10 +266,9 @@ install-man: man
29 install-info: info
30 $(INSTALL) -d -m 755 $(DESTDIR)$(infodir)
31 - $(INSTALL) -m 644 git.info gitman.info $(DESTDIR)$(infodir)
32 + $(INSTALL) -m 644 git.info $(DESTDIR)$(infodir)
33 if test -r $(DESTDIR)$(infodir)/dir; then \
34 $(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) git.info ;\
35 - $(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) gitman.info ;\
36 else \
37 echo "No directory found in $(DESTDIR)$(infodir)" >&2 ; \