diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-01-07 02:55:15 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-01-07 02:55:15 -0500 |
commit | 9ec20f9888ded5ef9c21f91af26e492c958784b9 (patch) | |
tree | 84e7984534dcdf45e38014913a09c41c6e82990a | |
parent | 2cca3158de0fbb40861a06f76bdd5043ac31f046 (diff) | |
download | dimension-9ec20f9888ded5ef9c21f91af26e492c958784b9.tar.xz |
Make build system more bourne-compatible.
-rw-r--r-- | Makefile.am | 7 | ||||
-rwxr-xr-x | tests/dimension/strings.sh | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index a4069dd..1188e78 100644 --- a/Makefile.am +++ b/Makefile.am @@ -34,7 +34,12 @@ pgo: $(MAKE) $(AM_MAKEFLAGS) -C libdimension libdimension-pgo.la && \ $(MAKE) $(AM_MAKEFLAGS) -C tests/libdimension check; \ fi - @rename _pgo_la _la $$(find $(top_builddir)/libdimension/pgo/.libs/) + @for pgo in $(top_builddir)/libdimension/pgo/.libs/*; do \ + replacement="$${pgo/_pgo_la/_la}"; \ + if [ "$$pgo" != "$$replacement" ]; then \ + mv "$$pgo" "$$replacement"; \ + fi \ + done all-recursive check-recursive install-recursive installcheck-recursive distdir: pgo diff --git a/tests/dimension/strings.sh b/tests/dimension/strings.sh index 58e0751..eba9f0f 100755 --- a/tests/dimension/strings.sh +++ b/tests/dimension/strings.sh @@ -20,7 +20,7 @@ ######################################################################### strings=$(${top_builddir}/dimension/dimension --tokenize ${srcdir}/strings.pov) -strings_exp=$(echo -e "((string \"This is a string with escape sequences: \a\b\f\n\r\t!#\v\\\'\"\"))") +strings_exp=$(/bin/echo -e "((string \"This is a string with escape sequences: \a\b\f\n\r\t!#\v\\\'\"\"))") if [ "$strings" != "$strings_exp" ]; then echo "strings.pov tokenized as \"$strings\"" >&2 |