blob: 94045549d0059b7bf79b301776201be36eca43a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
From: YAEGASHI Takeshi <yaegashi@debian.org>
Date: Sat, 15 Feb 2014 19:15:53 +0900
Subject: make a2x skip xmllint
Simply avoiding a2x failure caused by xmllint exit code 4 (Validation error).
---
Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 6fac5bd..63e38ab 100644
--- a/Makefile
+++ b/Makefile
@@ -127,13 +127,13 @@ doc-html: $(DOC_HTML)
doc-pdf: $(DOC_PDF)
%.5 : %.5.txt
- a2x -f manpage $<
+ a2x -L -f manpage $<
$(DOC_HTML): %.html : %.txt
- a2x -f xhtml --stylesheet=cgit-doc.css $<
+ a2x -L -f xhtml --stylesheet=cgit-doc.css $<
$(DOC_PDF): %.pdf : %.txt
- a2x -f pdf cgitrc.5.txt
+ a2x -L -f pdf cgitrc.5.txt
clean: clean-doc
$(RM) cgit VERSION CGIT-CFLAGS *.o tags
|