summaryrefslogtreecommitdiffstats
path: root/package/libxml2
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-09-23 14:23:16 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-09-23 14:23:16 +0000
commitae0343b4e63ae9742db0269056e0161afd80729f (patch)
tree0ac92ba362394d61b33db0b99438f507852f1303 /package/libxml2
parent6961522372daad4d072d05231b378d09142c3851 (diff)
downloadbuildroot-novena-ae0343b4e63ae9742db0269056e0161afd80729f.tar.gz
buildroot-novena-ae0343b4e63ae9742db0269056e0161afd80729f.zip
Cleanup libxml2 directory structure
Diffstat (limited to 'package/libxml2')
-rw-r--r--package/libxml2/libxml2.mk15
1 files changed, 11 insertions, 4 deletions
diff --git a/package/libxml2/libxml2.mk b/package/libxml2/libxml2.mk
index b4b805ea4..412f2ec7b 100644
--- a/package/libxml2/libxml2.mk
+++ b/package/libxml2/libxml2.mk
@@ -65,16 +65,23 @@ $(TARGET_DIR)/usr/lib/libxml2.a: $(STAGING_DIR)/usr/lib/libxml2.so
libxml2: uclibc $(TARGET_DIR)/usr/lib/libxml2.so libxml2-headers
-$(STAGING_DIR)/usr/include/libxml: $(TARGET_DIR)/usr/lib/libxml2.so
+$(STAGING_DIR)/usr/include/libxml2: $(TARGET_DIR)/usr/lib/libxml2.so
cp -af $(LIBXML2_DIR)/include/libxml $(STAGING_DIR)/usr/include/libxml2
+ touch -c $@
$(TARGET_DIR)/usr/include/libxml2: libxml2-headers
- cp -af $(LIBXML2_DIR)/include/libxml $(TARGET_DIR)/usr/include/libxml2
+ cp -af $(LIBXML2_DIR)/usr/include/libxml2 $(TARGET_DIR)/usr/include/libxml2
+ touch -c $@
+$(TARGET_DIR)/usr/include/libxml: libxml2-headers
+ ln -s libxml2/libxml $(LIBXML2_DIR)/usr/include/libxml
+ touch -c $@
-libxml2-headers: $(STAGING_DIR)/usr/include/libxml
+libxml2-headers: $(STAGING_DIR)/usr/include/libxml2
-libxml2-target-headers: $(TARGET_DIR)/usr/include/libxml2 $(TARGET_DIR)/usr/lib/libxml2.a
+libxml2-target-headers: $(TARGET_DIR)/usr/include/libxml2 \
+ $(TARGET_DIR)/usr/include/libxml2 \
+ $(TARGET_DIR)/usr/lib/libxml2.a
libxml2-source: $(DL_DIR)/$(LIBXML2_SOURCE)