summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-15 02:40:31 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-15 02:40:31 +0000
commitf12fe2350db1759a939eb1290440892b10336217 (patch)
tree579f1c6a44570085ef75789db2022b2f104a822e
parent955c530b63eebc8923e7a3b315b1e32cad9d5385 (diff)
use more portable options since some systems suck
-rw-r--r--Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index 6e56e0af8..5d6813d75 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -107,14 +107,14 @@ RUNTIME_PREFIX_LIB_FROM_DEVEL_PREFIX_LIB=$(shell $(top_srcdir)extra/scripts/rela
# Installs header files.
install_headers:
$(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)include
- echo -e ".svn\n.cvsignore\nCVS" > tar_exclude ; \
+ printf ".svn\n.cvsignore\nCVS\n" > tar_exclude ; \
if [ "$(KERNEL_SOURCE)" = "$(DEVEL_PREFIX)" ] ; then \
ls -1d include/linux include/asm* >> tar_exclude ; \
fi ; \
- $(TAR) -chf - --exclude-from tar_exclude include \
+ $(TAR) -chf - -X tar_exclude include \
| $(TAR) -xf - -C $(PREFIX)$(DEVEL_PREFIX)
rm -f tar_exclude
- echo -e '#ifndef _LIBC_INTERNAL_H\n#define _LIBC_INTERNAL_H 1\n#endif\n' > \
+ printf '#ifndef _LIBC_INTERNAL_H\n#define _LIBC_INTERNAL_H 1\n#endif\n' > \
$(PREFIX)$(DEVEL_PREFIX)include/libc-internal.h
$(RM) $(PREFIX)$(DEVEL_PREFIX)include/dl-osinfo.h
$(RM) $(PREFIX)$(DEVEL_PREFIX)include/bits/uClibc_uintmaxtostr.h