[Shotwell] [PATCH] interfaces.mk: fix failure to remove non-existing files

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:

 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 
-       $(foreach src,$(PLUGIN_INTERFACES),`rm $(notdir $(src)).o`)
+       $(foreach src,$(PLUGIN_INTERFACES),`rm -f $(notdir $(src)).o`)

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

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]