[Sugar-devel] [PATCH sugar-artwork] clean: Don't fail when sugar.stamp is missing

Sascha Silbe silbe at activitycentral.com
Tue Jul 26 13:58:22 EDT 2011


From: Luke Faraone <luke at faraone.cc>

If make clean is run several times, right after a fresh checkout or after
an incomplete build, sugar.stamp might not exist. This isn't an error, so we
should just continue anyway.

Signed-off-by: Luke Faraone <luke at faraone.cc>
Reviewed-by: Bernie Innocenti <bernie at codewiz.org>
[Modified description]
Signed-off-by: Sascha Silbe <silbe at activitycentral.com>
Acked-by: Sascha Silbe <silbe at activitycentral.com>
---
 cursor/sugar/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cursor/sugar/Makefile.am b/cursor/sugar/Makefile.am
index 93bd6a6..4b6084a 100644
--- a/cursor/sugar/Makefile.am
+++ b/cursor/sugar/Makefile.am
@@ -25,7 +25,7 @@ sugar.stamp: $(sugar_images) $(THEMEGEN) sugar.cursortheme
 
 clean-local:
 	rm -rf cursors
-	rm sugar.stamp
+	rm -f sugar.stamp
 
 install-data-local:
 	$(mkinstalldirs) $(DESTDIR)$(datadir)/icons/sugar/cursors/
-- 
1.7.2.5



More information about the Sugar-devel mailing list