mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
doc/Makefile: Replace non-portable echo(1) calls
The echo(1) behavior is system-dependent, the printf(1) behavior is not.
This commit is contained in:
parent
db3c469d4d
commit
e79290fb56
18
doc/Makefile
18
doc/Makefile
@ -11,16 +11,16 @@ CONTRIBUTED_MODULES = ""
|
|||||||
all: release pdf html
|
all: release pdf html
|
||||||
|
|
||||||
release:
|
release:
|
||||||
@echo "Notes for the releaser:"
|
@printf '%s\n' "Notes for the releaser:"
|
||||||
@echo "* Do not forget to add a link to the release notes in guide.tex"
|
@printf '%s\n' "* Do not forget to add a link to the release notes in guide.tex"
|
||||||
@echo "* Do not forget to update the version number in ebin/ejabberd.app!"
|
@printf '%s\n' "* Do not forget to update the version number in ebin/ejabberd.app!"
|
||||||
@echo "* Do not forget to update the features in introduction.tex (including \new{} and \improved{} tags)."
|
@printf '%s\n' "* Do not forget to update the features in introduction.tex (including \new{} and \improved{} tags)."
|
||||||
@echo "Press any key to continue"
|
@printf '%s\n' "Press any key to continue"
|
||||||
##@read foo
|
##@read foo
|
||||||
@echo "% ejabberd version (automatically generated)." > version.tex
|
@printf '%s\n' "% ejabberd version (automatically generated)." > version.tex
|
||||||
@echo "\newcommand{\version}{"`sed '/vsn/!d;s/\(.*\)"\(.*\)"\(.*\)/\2/' ../ebin/ejabberd.app`"}" >> version.tex
|
@printf '%s\n' "\newcommand{\version}{"`sed '/vsn/!d;s/\(.*\)"\(.*\)"\(.*\)/\2/' ../ebin/ejabberd.app`"}" >> version.tex
|
||||||
@echo -n "% Contributed modules (automatically generated)." > contributed_modules.tex
|
@printf '%s' "% Contributed modules (automatically generated)." > contributed_modules.tex
|
||||||
@echo -e "$(CONTRIBUTED_MODULES)" >> contributed_modules.tex
|
@printf '%b\n' "$(CONTRIBUTED_MODULES)" >> contributed_modules.tex
|
||||||
|
|
||||||
html: guide.html dev.html features.html
|
html: guide.html dev.html features.html
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user