[gtk-doc] make: Don't fail on removing types files if they don't exist
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-doc] make: Don't fail on removing types files if they don't exist
- Date: Sat, 8 Feb 2014 09:00:25 +0000 (UTC)
commit 73e5c7c5733b1754a43c2dc38c189fc51a22350a
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sat Feb 8 09:57:12 2014 +0100
make: Don't fail on removing types files if they don't exist
This fixes make dist, broken by d5110ef6d1825fc1f4f7f7bcfe149e48ede972f8
gtk-doc.make | 2 +-
gtk-doc.notmpl.make | 2 +-
tests/gtk-doc.make | 2 +-
tests/gtk-doc.notmpl.make | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk-doc.make b/gtk-doc.make
index 8c3b62f..7a50540 100644
--- a/gtk-doc.make
+++ b/gtk-doc.make
@@ -243,7 +243,7 @@ clean-local:
@rm -f *~ *.bak
@rm -rf .libs
@if echo $(SCAN_OPTIONS) | grep -q "\-\-rebuild-types" ; then \
- rm $(DOC_MODULE).types; \
+ rm -f $(DOC_MODULE).types; \
fi
distclean-local:
diff --git a/gtk-doc.notmpl.make b/gtk-doc.notmpl.make
index 7f55c58..6f5953d 100644
--- a/gtk-doc.notmpl.make
+++ b/gtk-doc.notmpl.make
@@ -220,7 +220,7 @@ clean-local:
@rm -f *~ *.bak
@rm -rf .libs
@if echo $(SCAN_OPTIONS) | grep -q "\-\-rebuild-types" ; then \
- rm $(DOC_MODULE).types; \
+ rm -f $(DOC_MODULE).types; \
fi
distclean-local:
diff --git a/tests/gtk-doc.make b/tests/gtk-doc.make
index 0009c5b..b307c48 100644
--- a/tests/gtk-doc.make
+++ b/tests/gtk-doc.make
@@ -215,7 +215,7 @@ clean-local:
@rm -f *~ *.bak ts
@rm -rf .libs
@if echo $(SCAN_OPTIONS) | grep -q "\-\-rebuild-types" ; then \
- rm $(DOC_MODULE).types; \
+ rm -f $(DOC_MODULE).types; \
fi
$(MAKE) distclean-local
diff --git a/tests/gtk-doc.notmpl.make b/tests/gtk-doc.notmpl.make
index 31d4d97..e2969cc 100644
--- a/tests/gtk-doc.notmpl.make
+++ b/tests/gtk-doc.notmpl.make
@@ -191,7 +191,7 @@ clean-local:
@rm -f *~ *.bak ts
@rm -rf .libs
@if echo $(SCAN_OPTIONS) | grep -q "\-\-rebuild-types" ; then \
- rm $(DOC_MODULE).types; \
+ rm -f $(DOC_MODULE).types; \
fi
$(MAKE) distclean-local
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]