summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-08-17 00:09:33 +0000
committerMike Frysinger <vapier@gentoo.org>2005-08-17 00:09:33 +0000
commit8196d43357527493e42fd8e3b6e6e99c9f4694fa (patch)
tree54d6afcd15e2eefed41afd7918c827a3f7b455bc /Makefile
parent4089ec9aeba57498b21688084417c1afd7b6d003 (diff)
when installing the include files, skip .svn, linux, and asm dirs since they are just symlinks (and could possibly be pointing to right where we are installing)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 221841a70..979a5255e 100644
--- a/Makefile
+++ b/Makefile
@@ -158,7 +158,9 @@ install_dev:
$(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)lib
$(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)include
-$(INSTALL) -m 644 lib/*.[ao] $(PREFIX)$(DEVEL_PREFIX)lib/
- tar -chf - include | tar -xf - -C $(PREFIX)$(DEVEL_PREFIX)
+ tar -chf - include \
+ --exclude .svn --exclude include/linux --exclude include/asm'*' \
+ | tar -xf - -C $(PREFIX)$(DEVEL_PREFIX)
ifneq ($(strip $(UCLIBC_HAS_FLOATS)),y)
# Remove floating point related headers since float support is disabled.
$(RM) $(PREFIX)$(DEVEL_PREFIX)include/complex.h