diff options
author | YAEGASHI Takeshi <yaegashi@debian.org> | 2014-02-15 19:25:39 (JST) |
---|---|---|
committer | YAEGASHI Takeshi <yaegashi@debian.org> | 2014-02-17 05:37:25 (JST) |
commit | 8c3b48a2993395147a16c640adce9b1cef7fa9c1 (patch) | |
tree | 4bfd16be735d05fa8604bef6d74a7fe289b1ae5e | |
parent | 7489123c46a67ef328aead1b1eca0239b3d98eae (diff) | |
download | cgit-8c3b48a2993395147a16c640adce9b1cef7fa9c1.zip cgit-8c3b48a2993395147a16c640adce9b1cef7fa9c1.tar.gz |
Add 0001-make-a2x-skip-xmllint.patch
-rw-r--r-- | debian/patches/0001-make-a2x-skip-xmllint.patch | 30 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 31 insertions, 0 deletions
diff --git a/debian/patches/0001-make-a2x-skip-xmllint.patch b/debian/patches/0001-make-a2x-skip-xmllint.patch new file mode 100644 index 0000000..38f48d5 --- /dev/null +++ b/debian/patches/0001-make-a2x-skip-xmllint.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From: YAEGASHI Takeshi <yaegashi@debian.org> | ||
2 | Date: Sat, 15 Feb 2014 19:15:53 +0900 | ||
3 | Subject: make a2x skip xmllint | ||
4 | |||
5 | Simply avoiding a2x failure caused by xmllint exit code 4 (Validation error). | ||
6 | --- | ||
7 | Makefile | 6 +++--- | ||
8 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
9 | |||
10 | diff --git a/Makefile b/Makefile | ||
11 | index 2dc92df..1dac1ef 100644 | ||
12 | --- a/Makefile | ||
13 | +++ b/Makefile | ||
14 | @@ -126,13 +126,13 @@ doc-html: $(DOC_HTML) | ||
15 | doc-pdf: $(DOC_PDF) | ||
16 | |||
17 | %.5 : %.5.txt | ||
18 | - a2x -f manpage $< | ||
19 | + a2x -L -f manpage $< | ||
20 | |||
21 | $(DOC_HTML): %.html : %.txt | ||
22 | - a2x -f xhtml --stylesheet=cgit-doc.css $< | ||
23 | + a2x -L -f xhtml --stylesheet=cgit-doc.css $< | ||
24 | |||
25 | $(DOC_PDF): %.pdf : %.txt | ||
26 | - a2x -f pdf cgitrc.5.txt | ||
27 | + a2x -L -f pdf cgitrc.5.txt | ||
28 | |||
29 | clean: clean-doc | ||
30 | $(RM) cgit VERSION CGIT-CFLAGS *.o tags | ||
diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..0f6683d --- /dev/null +++ b/debian/patches/series | |||
@@ -0,0 +1 @@ | |||
0001-make-a2x-skip-xmllint.patch | |||