aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Khramtsov <xramtsov@gmail.com>2014-08-01 19:25:01 +0400
committerEvgeny Khramtsov <xramtsov@gmail.com>2014-08-01 19:25:01 +0400
commit2e70c59471b229458ba01dadfc86ff184ea08b05 (patch)
tree7e6a730b23612ed1213422932dc1a1da0a40cde9
parentmod_offline now uses gen_server (diff)
parentdoc/Makefile: Replace non-portable echo(1) calls (diff)
Merge pull request #267 from weiss/replace-echo-calls
doc/Makefile: Replace non-portable echo(1) calls
-rw-r--r--doc/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/Makefile b/doc/Makefile
index a67148798..40c7a4652 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -11,16 +11,16 @@ CONTRIBUTED_MODULES = ""
all: release pdf html
release:
- @echo "Notes for the releaser:"
- @echo "* 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!"
- @echo "* Do not forget to update the features in introduction.tex (including \new{} and \improved{} tags)."
- @echo "Press any key to continue"
+ @printf '%s\n' "Notes for the releaser:"
+ @printf '%s\n' "* Do not forget to add a link to the release notes in guide.tex"
+ @printf '%s\n' "* Do not forget to update the version number in ebin/ejabberd.app!"
+ @printf '%s\n' "* Do not forget to update the features in introduction.tex (including \new{} and \improved{} tags)."
+ @printf '%s\n' "Press any key to continue"
##@read foo
- @echo "% ejabberd version (automatically generated)." > version.tex
- @echo "\newcommand{\version}{"`sed '/vsn/!d;s/\(.*\)"\(.*\)"\(.*\)/\2/' ../ebin/ejabberd.app`"}" >> version.tex
- @echo -n "% Contributed modules (automatically generated)." > contributed_modules.tex
- @echo -e "$(CONTRIBUTED_MODULES)" >> contributed_modules.tex
+ @printf '%s\n' "% ejabberd version (automatically generated)." > version.tex
+ @printf '%s\n' "\newcommand{\version}{"`sed '/vsn/!d;s/\(.*\)"\(.*\)"\(.*\)/\2/' ../ebin/ejabberd.app`"}" >> version.tex
+ @printf '%s' "% Contributed modules (automatically generated)." > contributed_modules.tex
+ @printf '%b\n' "$(CONTRIBUTED_MODULES)" >> contributed_modules.tex
html: guide.html dev.html features.html