[gnome-icon-theme/one-canvas] Add check rule to 48x48/animations



commit bded369a0bd9cf05cdab756ffd17ddb7253090f3
Author: Luca Ferretti <elle uca libero it>
Date:   Sat Aug 22 01:55:41 2009 +0200

    Add check rule to 48x48/animations

 48x48/animations/Makefile.am |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/48x48/animations/Makefile.am b/48x48/animations/Makefile.am
index d761b67..3bf285f 100644
--- a/48x48/animations/Makefile.am
+++ b/48x48/animations/Makefile.am
@@ -16,5 +16,23 @@ MAINTAINERCLEANFILES =			\
 install-data-local: install-iconsDATA
 	(cd $(DESTDIR)$(themedir)/$(size) && $(ICONMAP) -c $(context))
 
+check:
+	if test -r CVS/Entries; then \
+		for icon in *.png; do \
+			if grep $$icon CVS/Entries > /dev/null; then \
+				if ! grep $$icon Makefile > /dev/null; then \
+					echo "Missing $$icon in Makefile.am"; \
+					exit 1; \
+				fi; \
+			fi; \
+		done; \
+	else \
+		for icon in *.png; do \
+			if ! grep $$icon Makefile > /dev/null; then \
+				echo "Missing $$icon in Makefile.am"; \
+				exit 1; \
+			fi; \
+		done; \
+	fi
 
 -include $(top_srcdir)/git.mk



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