Hey list

Here's a small bugfix for the makefile. Without the -f flag on rm,
building fails when trying to remove files that don't exist. Other
places already use rm -f, so also use it in interfaces.mk.

Can also be pulled from github:
https://github.com/abrauchli/shotwell/commit/d8b749ea633e7f8161b6fa726e
a2c19972b65024


---
 src/plugins/mk/interfaces.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/mk/interfaces.mk b/src/plugins/mk/interfaces.mk
index 34be1eb..2c8acf8 100644
--- a/src/plugins/mk/interfaces.mk
+++ b/src/plugins/mk/interfaces.mk
@@ -25,5 +25,5 @@ $(PLUGIN_HEADER): $(PLUGIN_VAPI)
 $(PLUGIN_VAPI): $(PLUGIN_INTERFACES) src/plugins/mk/interfaces.mk
        $(call check_valac_version)
        $(VALAC) -c $(VALAFLAGS) -X -DGETTEXT_PACKAGE='"shotwell"' -X -I. 
$(foreach pkg,$(PLUGIN_PKG_REQS),--pkg=$(pkg)) --includedir=plugins --vapi=$@ 
--header=$(basename $@).h $(PLUGIN_INTERFACES)
-       $(foreach src,$(PLUGIN_INTERFACES),`rm $(notdir $(src)).o`)
+       $(foreach src,$(PLUGIN_INTERFACES),`rm -f $(notdir $(src)).o`)
 
-- 
2.7.4

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
shotwell-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/shotwell-list

Reply via email to