mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-10-22 07:21:21 +00:00
Targets for creating HTML files for translated man pages
This commit is contained in:
parent
5e83590fa7
commit
7b1f263783
13
Makefile.in
13
Makefile.in
@ -335,6 +335,19 @@ update-manpage-po update-man-po:
|
||||
echo >> doc/man/po4a/po/$$i.po ; \
|
||||
done
|
||||
|
||||
manpages-html man2html: manpages translated-manpages
|
||||
@for lang in '' $(MANPAGES_TRANSLATIONS) ; do \
|
||||
test "$$lang" != "" && lang="/$$lang" ; \
|
||||
for file in doc/man$$lang/*.xml ; do \
|
||||
echo 'XSLTPROC ' $$file ; \
|
||||
test x$(V) = "x1" && echo xsltproc --nonet -o `dirname $$file`/`basename $$file .xml`.html /usr/share/xml/docbook/stylesheet/nwalsh/html/docbook.xsl $$file ; \
|
||||
xsltproc --nonet -o `dirname $$file`/`basename $$file .xml`.html /usr/share/xml/docbook/stylesheet/nwalsh/html/docbook.xsl $$file ; \
|
||||
done ; \
|
||||
done
|
||||
|
||||
clean-manpages-html clean-man2html:
|
||||
rm -f doc/man/*.html doc/man/*/*.html
|
||||
|
||||
# Some general rules
|
||||
ifeq (1,$(LIBMTXCOMMONDLL))
|
||||
%.o: %.cpp
|
||||
|
Loading…
Reference in New Issue
Block a user