mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
- add missing dirclean target (Cristian Ionescu-Idbohrn)
This commit is contained in:
parent
ddbaf4dd43
commit
c779748845
@ -19,7 +19,8 @@ $(DL_DIR)/$(EXPAT_SOURCE):
|
|||||||
expat-source: $(DL_DIR)/$(EXPAT_SOURCE)
|
expat-source: $(DL_DIR)/$(EXPAT_SOURCE)
|
||||||
|
|
||||||
$(EXPAT_DIR)/.unpacked: $(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)
|
$(CONFIG_UPDATE) $(EXPAT_DIR)
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
@ -40,7 +41,7 @@ $(EXPAT_DIR)/.configured: $(EXPAT_DIR)/.unpacked
|
|||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--datadir=/usr/share \
|
--datadir=/usr/share \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--includedir=/include \
|
--includedir=/usr/include \
|
||||||
--mandir=/usr/man \
|
--mandir=/usr/man \
|
||||||
--infodir=/usr/info \
|
--infodir=/usr/info \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
@ -53,7 +54,8 @@ $(EXPAT_DIR)/$(EXPAT_BINARY): $(EXPAT_DIR)/.configured
|
|||||||
|
|
||||||
$(STAGING_DIR)/$(EXPAT_TARGET_BINARY): $(EXPAT_DIR)/$(EXPAT_BINARY)
|
$(STAGING_DIR)/$(EXPAT_TARGET_BINARY): $(EXPAT_DIR)/$(EXPAT_BINARY)
|
||||||
$(MAKE) DESTDIR=$(STAGING_DIR)/usr -C $(EXPAT_DIR) install
|
$(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 $@
|
touch -c $@
|
||||||
|
|
||||||
$(TARGET_DIR)/$(EXPAT_TARGET_BINARY): $(STAGING_DIR)/$(EXPAT_TARGET_BINARY)
|
$(TARGET_DIR)/$(EXPAT_TARGET_BINARY): $(STAGING_DIR)/$(EXPAT_TARGET_BINARY)
|
||||||
@ -66,10 +68,14 @@ expat: uclibc pkgconfig $(TARGET_DIR)/$(EXPAT_TARGET_BINARY)
|
|||||||
|
|
||||||
expat-clean:
|
expat-clean:
|
||||||
rm -f $(EXPAT_DIR)/.configured
|
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
|
#rm -f $(STAGING_DIR)/usr/bin/xmlwf $(TARGET_DIR)/usr/bin/xmlwf
|
||||||
-$(MAKE) -C $(EXPAT_DIR) clean
|
-$(MAKE) -C $(EXPAT_DIR) clean
|
||||||
|
|
||||||
|
expat-dirclean:
|
||||||
|
rm -rf $(EXPAT_DIR)
|
||||||
|
|
||||||
#############################################################
|
#############################################################
|
||||||
#
|
#
|
||||||
# Toplevel Makefile options
|
# Toplevel Makefile options
|
||||||
|
Loading…
x
Reference in New Issue
Block a user