]> gitweb.ps.run Git - ps-cgit/blobdiff - Makefile
doc: use consistent id's when generating html files
[ps-cgit] / Makefile
index 1ab29059f96c33727c9767b2d55b6550c12b1e82..687069fc460d25af73eadd1451b5844dccc25bc6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ htmldir = $(docdir)
 pdfdir = $(docdir)
 mandir = $(prefix)/share/man
 SHA1_HEADER = <openssl/sha.h>
-GIT_VER = 2.10.2
+GIT_VER = 2.16.0
 GIT_URL = https://www.kernel.org/pub/software/scm/git/git-$(GIT_VER).tar.gz
 INSTALL = install
 COPYTREE = cp -r
@@ -134,7 +134,7 @@ doc-pdf: $(DOC_PDF)
        a2x -f manpage $<
 
 $(DOC_HTML): %.html : %.txt
-       a2x -f xhtml --stylesheet=cgit-doc.css $<
+       a2x -f xhtml --stylesheet=cgit-doc.css --xsltproc-opts="--param generate.consistent.ids 1" $<
 
 $(DOC_PDF): %.pdf : %.txt
        a2x -f pdf cgitrc.5.txt