Turn off xmllint for a2x.py
The docbook DTD is not locally available in OSX, and the a2x.py command calls xmllint with `--nonet` so it can't fetch the DTD. Easier to just turn off linting.
This commit is contained in:
parent
9cdfa4a81c
commit
4c355488aa
|
@ -72,14 +72,14 @@ kak : $(objects)
|
||||||
|
|
||||||
# Generate the man page
|
# Generate the man page
|
||||||
../doc/kak.1.gz: ../doc/kak.1.txt
|
../doc/kak.1.gz: ../doc/kak.1.txt
|
||||||
$(A2X) -f manpage $<
|
$(A2X) --no-xmllint -f manpage $<
|
||||||
gzip -f $(basename $<)
|
gzip -f $(basename $<)
|
||||||
|
|
||||||
# Generate the editor's documentation pages
|
# Generate the editor's documentation pages
|
||||||
# Since `a2x` won't generate man pages if some sections are missing (which we don't need),
|
# Since `a2x` won't generate man pages if some sections are missing (which we don't need),
|
||||||
# we generate the pages, patch them and then compress them
|
# we generate the pages, patch them and then compress them
|
||||||
../doc/manpages/%.gz: ../doc/manpages/%.asciidoc
|
../doc/manpages/%.gz: ../doc/manpages/%.asciidoc
|
||||||
$(A2X) -f manpage $<
|
$(A2X) --no-xmllint -f manpage $<
|
||||||
sed -i -r -e "s,^\.TH .+,.TH KAKOUNE 1 \"\" \"\" \"$(basename $(notdir $<))\"," \
|
sed -i -r -e "s,^\.TH .+,.TH KAKOUNE 1 \"\" \"\" \"$(basename $(notdir $<))\"," \
|
||||||
-e "/^\.SH \"NAME\"/,+1d" $(@:.gz=.1)
|
-e "/^\.SH \"NAME\"/,+1d" $(@:.gz=.1)
|
||||||
gzip -f $(@:.gz=.1)
|
gzip -f $(@:.gz=.1)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user