1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-01 17:24:50 +01:00

32289: Doc: Add zsh version to footer in HTML documentation.

This commit is contained in:
Simon Ruderich 2014-01-19 16:24:40 +01:00
parent 7d301a527e
commit 3c25cb29ab
3 changed files with 13 additions and 2 deletions

1
.gitignore vendored
View file

@ -39,6 +39,7 @@ Doc/intro.a4.ps
Doc/intro.us.pdf Doc/intro.us.pdf
Doc/intro.us.ps Doc/intro.us.ps
Doc/version.yo Doc/version.yo
Doc/texi2html.conf
Doc/zsh*.1 Doc/zsh*.1
Doc/zsh.texi Doc/zsh.texi
Doc/zsh.info* Doc/zsh.info*

View file

@ -1,3 +1,7 @@
2014-03-03 Simon Ruderich <simon@ruderich.org>
* 32289: Doc: Add zsh version to footer in HTML documentation.
2014-03-03 Oliver Kiddle <opk@zsh.org> 2014-03-03 Oliver Kiddle <opk@zsh.org>
* 32441: Completion/Base/Completer/_extensions, Doc/Zsh/compsys.yo: * 32441: Completion/Base/Completer/_extensions, Doc/Zsh/compsys.yo:

View file

@ -41,7 +41,8 @@ LN_S = @LN_S@
MAKEINFO = makeinfo MAKEINFO = makeinfo
TEXI2DVI = texi2dvi TEXI2DVI = texi2dvi
DVIPS = dvips DVIPS = dvips
TEXI2HTML = @TEXI2HTML@ --output . --ifinfo --split=chapter --node-files TEXI2HTML = @TEXI2HTML@ --output . --ifinfo --split=chapter --node-files \
--init-file $(sdir)/texi2html.conf
.SUFFIXES: .yo .1 .SUFFIXES: .yo .1
@ -159,7 +160,7 @@ zsh_a4.ps: zsh.dvi
html: zsh_toc.html html: zsh_toc.html
.PHONY: html .PHONY: html
zsh_toc.html: $(sdir)/zsh.texi zsh_toc.html: $(sdir)/zsh.texi $(sdir)/texi2html.conf
$(TEXI2HTML) $(sdir)/zsh.texi $(TEXI2HTML) $(sdir)/zsh.texi
zshall.1: zsh.yo zshall.1: zsh.yo
@ -248,6 +249,10 @@ version.yo: $(sdir_top)/Config/version.mk
echo 'IFDEF(DECWSLEVEL)(DECWSLEVEL())(ENDDEF())#' | tr '#' '\\'; \ echo 'IFDEF(DECWSLEVEL)(DECWSLEVEL())(ENDDEF())#' | tr '#' '\\'; \
) > $(sdir)/version.yo ) > $(sdir)/version.yo
texi2html.conf: $(sdir_top)/Config/version.mk
echo '$$PRE_BODY_CLOSE = "<font size=\"-1\">Zsh version $(VERSION), released on $(VERSION_DATE).</font>";' \
> $(sdir)/$@
Zsh/modlist.yo: $(MODDOCSRC) Zsh/modlist.yo: $(MODDOCSRC)
( \ ( \
echo "startitem()"; \ echo "startitem()"; \
@ -388,6 +393,7 @@ clean-here:
rm -f *.aux *.cp *.cps *.fn *.fns *.ky *.log rm -f *.aux *.cp *.cps *.fn *.fns *.ky *.log
rm -f *.pg *.pgs *.toc *.tp *.tps *.vr *.vrs rm -f *.pg *.pgs *.toc *.tp *.tps *.vr *.vrs
rm -rf infodir rm -rf infodir
rm -f texi2html.conf
.PHONY: clean-here .PHONY: clean-here
distclean-here: clean-here distclean-here: clean-here