Use 'tr -d' instead of 'echo -n'.

The 'echo' on Mac OS does not support '-n'.
This commit is contained in:
Moritz Bunkus 2010-02-13 21:05:49 +01:00
parent 13ef06e046
commit a8349614b2
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-02-13 Moritz Bunkus <moritz@bunkus.org>
* Build system: Fixed configure for systems on which 'echo' does
not support the '-n' parameter (e.g. Mac OS).
2010-02-12 Moritz Bunkus <moritz@bunkus.org>
* Released v3.2.0.

View File

@ -5,7 +5,7 @@ MANPAGES_TRANSLATIONS="`echo "$MANPAGES_TRANSLATIONS_POS" | \
AC_MSG_RESULT($MANPAGES_TRANSLATIONS)
MANPAGES_TRANSLATED="`for lang in $MANPAGES_TRANSLATIONS; do \
echo -n '$(subst doc/man, doc/man/'$lang', $(MANPAGES)) '; done`"
echo '$(subst doc/man, doc/man/'$lang', $(MANPAGES)) '; done | tr -d '\n\r'`"
MANPAGES_TRANSLATED_XML_RULE="`for lang in $MANPAGES_TRANSLATIONS; do \
echo "doc/man/$lang/%.xml: doc/man/%.xml doc/man/po4a/po/$lang.po"