summaryrefslogtreecommitdiffstats
path: root/package/expat/expat.mk
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-07-08 13:55:49 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-07-08 13:55:49 +0000
commitc779748845600f4c4a397f5392d9a95d654d5fd4 (patch)
tree229621909a24b7b62334f95a17045b6cb757bad4 /package/expat/expat.mk
parentddbaf4dd43647aa22faf50a1fd0dc3ae767f8cbe (diff)
downloadbuildroot-novena-c779748845600f4c4a397f5392d9a95d654d5fd4.tar.gz
buildroot-novena-c779748845600f4c4a397f5392d9a95d654d5fd4.zip
- add missing dirclean target (Cristian Ionescu-Idbohrn)
Diffstat (limited to 'package/expat/expat.mk')
-rw-r--r--package/expat/expat.mk14
1 files changed, 10 insertions, 4 deletions
diff --git a/package/expat/expat.mk b/package/expat/expat.mk
index 060a09389..a082f6fd4 100644
--- a/package/expat/expat.mk
+++ b/package/expat/expat.mk
@@ -19,7 +19,8 @@ $(DL_DIR)/$(EXPAT_SOURCE):
expat-source: $(DL_DIR)/$(EXPAT_SOURCE)
$(EXPAT_DIR)/.unpacked: $(DL_DIR)/$(EXPAT_SOURCE)
- $(EXPAT_CAT) $(DL_DIR)/$(EXPAT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ $(EXPAT_CAT) $(DL_DIR)/$(EXPAT_SOURCE) | \
+ tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
$(CONFIG_UPDATE) $(EXPAT_DIR)
touch $@
@@ -40,7 +41,7 @@ $(EXPAT_DIR)/.configured: $(EXPAT_DIR)/.unpacked
--sysconfdir=/etc \
--datadir=/usr/share \
--localstatedir=/var \
- --includedir=/include \
+ --includedir=/usr/include \
--mandir=/usr/man \
--infodir=/usr/info \
--enable-shared \
@@ -53,7 +54,8 @@ $(EXPAT_DIR)/$(EXPAT_BINARY): $(EXPAT_DIR)/.configured
$(STAGING_DIR)/$(EXPAT_TARGET_BINARY): $(EXPAT_DIR)/$(EXPAT_BINARY)
$(MAKE) DESTDIR=$(STAGING_DIR)/usr -C $(EXPAT_DIR) install
- $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" $(STAGING_DIR)/usr/lib/libexpat.la
+ $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" \
+ $(STAGING_DIR)/usr/lib/libexpat.la
touch -c $@
$(TARGET_DIR)/$(EXPAT_TARGET_BINARY): $(STAGING_DIR)/$(EXPAT_TARGET_BINARY)
@@ -66,10 +68,14 @@ expat: uclibc pkgconfig $(TARGET_DIR)/$(EXPAT_TARGET_BINARY)
expat-clean:
rm -f $(EXPAT_DIR)/.configured
- rm -f $(STAGING_DIR)/usr/lib/libexpat.* $(TARGET_DIR)/usr/lib/libexpat.*
+ rm -f $(STAGING_DIR)/usr/lib/libexpat.* \
+ $(TARGET_DIR)/usr/lib/libexpat.*
#rm -f $(STAGING_DIR)/usr/bin/xmlwf $(TARGET_DIR)/usr/bin/xmlwf
-$(MAKE) -C $(EXPAT_DIR) clean
+expat-dirclean:
+ rm -rf $(EXPAT_DIR)
+
#############################################################
#
# Toplevel Makefile options