summaryrefslogtreecommitdiff
path: root/scalable
diff options
context:
space:
mode:
authorRodney Dawes <dobey@novell.com>2006-11-09 14:09:28 +0000
committerRodney Dawes <dobey@src.gnome.org>2006-11-09 14:09:28 +0000
commita84dd8694337303f342d543293b9c09a4f735484 (patch)
tree25b12bce5a31212aff7cf45ec732dabc011066d9 /scalable
parentdc8dbd4638183d32f53aacea3a3bbc1bef1c3d52 (diff)
downloadadwaita-icon-theme-a84dd8694337303f342d543293b9c09a4f735484.tar.gz
Add nifty make check rule to check that all of the icons are listed in the
2006-11-09 Rodney Dawes <dobey@novell.com> * */*/Makefile.am: Add nifty make check rule to check that all of the icons are listed in the Makefile.am to help prevent missing icons
Diffstat (limited to 'scalable')
-rw-r--r--scalable/actions/Makefile.am18
-rw-r--r--scalable/apps/Makefile.am18
-rw-r--r--scalable/categories/Makefile.am18
-rw-r--r--scalable/devices/Makefile.am19
-rw-r--r--scalable/emblems/Makefile.am19
-rw-r--r--scalable/mimetypes/Makefile.am19
-rw-r--r--scalable/places/Makefile.am18
-rw-r--r--scalable/status/Makefile.am18
8 files changed, 147 insertions, 0 deletions
diff --git a/scalable/actions/Makefile.am b/scalable/actions/Makefile.am
index 9ea3c832f..fb8c42e34 100644
--- a/scalable/actions/Makefile.am
+++ b/scalable/actions/Makefile.am
@@ -50,3 +50,21 @@ MAINTAINERCLEANFILES = \
install-data-local: install-iconsDATA
(cd $(DESTDIR)$(themedir)/$(size) && $(ICONMAP) -c $(context))
+check:
+ if test -r CVS/Entries; then \
+ for icon in *.svg; 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 *.svg; do \
+ if ! grep $$icon Makefile > /dev/null; then \
+ echo "Missing $$icon in Makefile.am"; \
+ exit 1; \
+ fi; \
+ done; \
+ fi
diff --git a/scalable/apps/Makefile.am b/scalable/apps/Makefile.am
index e500c9241..8a7f07137 100644
--- a/scalable/apps/Makefile.am
+++ b/scalable/apps/Makefile.am
@@ -39,3 +39,21 @@ MAINTAINERCLEANFILES = \
install-data-local: install-iconsDATA
(cd $(DESTDIR)$(themedir)/$(size) && $(ICONMAP) -c $(context))
+check:
+ if test -r CVS/Entries; then \
+ for icon in *.svg; 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 *.svg; do \
+ if ! grep $$icon Makefile > /dev/null; then \
+ echo "Missing $$icon in Makefile.am"; \
+ exit 1; \
+ fi; \
+ done; \
+ fi
diff --git a/scalable/categories/Makefile.am b/scalable/categories/Makefile.am
index 08bae124d..289baaa98 100644
--- a/scalable/categories/Makefile.am
+++ b/scalable/categories/Makefile.am
@@ -21,3 +21,21 @@ MAINTAINERCLEANFILES = \
install-data-local: install-iconsDATA
(cd $(DESTDIR)$(themedir)/$(size) && $(ICONMAP) -c $(context))
+check:
+ if test -r CVS/Entries; then \
+ for icon in *.svg; 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 *.svg; do \
+ if ! grep $$icon Makefile > /dev/null; then \
+ echo "Missing $$icon in Makefile.am"; \
+ exit 1; \
+ fi; \
+ done; \
+ fi
diff --git a/scalable/devices/Makefile.am b/scalable/devices/Makefile.am
index 8ef2c77fd..39633b6ec 100644
--- a/scalable/devices/Makefile.am
+++ b/scalable/devices/Makefile.am
@@ -28,3 +28,22 @@ MAINTAINERCLEANFILES = \
install-data-local: install-iconsDATA
(cd $(DESTDIR)$(themedir)/$(size) && $(ICONMAP) -c $(context))
+
+check:
+ if test -r CVS/Entries; then \
+ for icon in *.svg; 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 *.svg; do \
+ if ! grep $$icon Makefile > /dev/null; then \
+ echo "Missing $$icon in Makefile.am"; \
+ exit 1; \
+ fi; \
+ done; \
+ fi
diff --git a/scalable/emblems/Makefile.am b/scalable/emblems/Makefile.am
index 17f193b40..e552ba018 100644
--- a/scalable/emblems/Makefile.am
+++ b/scalable/emblems/Makefile.am
@@ -47,3 +47,22 @@ CLEANFILES = $(icons_DATA)
install-data-local: install-iconsDATA install-svgDATA
(cd $(DESTDIR)$(themedir)/$(size) && $(ICONMAP) -c $(context))
+
+check:
+ if test -r CVS/Entries; then \
+ for icon in *.svg; 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 *.svg; do \
+ if ! grep $$icon Makefile > /dev/null; then \
+ echo "Missing $$icon in Makefile.am"; \
+ exit 1; \
+ fi; \
+ done; \
+ fi
diff --git a/scalable/mimetypes/Makefile.am b/scalable/mimetypes/Makefile.am
index 12b794be7..b543bbe4a 100644
--- a/scalable/mimetypes/Makefile.am
+++ b/scalable/mimetypes/Makefile.am
@@ -31,3 +31,22 @@ MAINTAINERCLEANFILES = \
install-data-local: install-iconsDATA
(cd $(DESTDIR)$(themedir)/$(size) && $(ICONMAP) -c $(context))
+
+check:
+ if test -r CVS/Entries; then \
+ for icon in *.svg; 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 *.svg; do \
+ if ! grep $$icon Makefile > /dev/null; then \
+ echo "Missing $$icon in Makefile.am"; \
+ exit 1; \
+ fi; \
+ done; \
+ fi
diff --git a/scalable/places/Makefile.am b/scalable/places/Makefile.am
index 9ceeca4e9..f86d276d3 100644
--- a/scalable/places/Makefile.am
+++ b/scalable/places/Makefile.am
@@ -26,3 +26,21 @@ MAINTAINERCLEANFILES = \
install-data-local: install-iconsDATA
(cd $(DESTDIR)$(themedir)/$(size) && $(ICONMAP) -c $(context))
+check:
+ if test -r CVS/Entries; then \
+ for icon in *.svg; 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 *.svg; do \
+ if ! grep $$icon Makefile > /dev/null; then \
+ echo "Missing $$icon in Makefile.am"; \
+ exit 1; \
+ fi; \
+ done; \
+ fi
diff --git a/scalable/status/Makefile.am b/scalable/status/Makefile.am
index 95a47ebe1..ef47a2272 100644
--- a/scalable/status/Makefile.am
+++ b/scalable/status/Makefile.am
@@ -48,3 +48,21 @@ MAINTAINERCLEANFILES = \
install-data-local: install-iconsDATA
(cd $(DESTDIR)$(themedir)/$(size) && $(ICONMAP) -c $(context))
+check:
+ if test -r CVS/Entries; then \
+ for icon in *.svg; 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 *.svg; do \
+ if ! grep $$icon Makefile > /dev/null; then \
+ echo "Missing $$icon in Makefile.am"; \
+ exit 1; \
+ fi; \
+ done; \
+ fi