[adwaita-icon-theme] Fix distcheck
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [adwaita-icon-theme] Fix distcheck
- Date: Tue, 23 Sep 2014 02:27:35 +0000 (UTC)
commit cc9a1190589568b5f2769da845be27cb5a8c1934
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Sep 22 21:38:46 2014 -0400
Fix distcheck
Some of the uninstall targets were broken.
src/spinner/Makefile.am | 6 +++---
src/symbolic/Makefile.am | 9 ++++++---
2 files changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/src/spinner/Makefile.am b/src/spinner/Makefile.am
index f45398e..86f4d7c 100644
--- a/src/spinner/Makefile.am
+++ b/src/spinner/Makefile.am
@@ -33,9 +33,9 @@ install-data-local:
done
uninstall-local:
- size='scalable-up-to-32'
- for file in `cd $(top_srcdir)/$(SVGOUTDIR)/$$size; find . -name "*.png"`; do \
- rm -f $(DESTDIR)$(themedir)/$$size/$$file;
+ for file in `cd $(top_srcdir)/$(SVGOUTDIR)/scalable-up-to-32; find . -name "*.svg"`; do \
+ rm -f $(DESTDIR)$(themedir)/scalable-up-to-32/$$file; \
+ done
EXTRA_DIST = \
$(icon_in_files)
diff --git a/src/symbolic/Makefile.am b/src/symbolic/Makefile.am
index 9300bce..24aac9b 100644
--- a/src/symbolic/Makefile.am
+++ b/src/symbolic/Makefile.am
@@ -39,9 +39,12 @@ install-data-local:
done
uninstall-local:
- for size in $(symbolic_render_sizes); do \
- for file in `cd $(top_srcdir)/$(SVGOUTDIR)/$$size; find . -name "*.png"`; do \
- rm -f $(DESTDIR)$(themedir)/$$size/$$file; \
+ for file in `cd $(top_srcdir)/$(SVGOUTDIR)/scalable; find . -name "*.svg"`; do \
+ context="`dirname $$file`"; \
+ rm -f $(DESTDIR)$(themedir)/scalable/$$file; \
+ for size in $(symbolic_encode_sizes); do \
+ name="`basename $$file .svg`.symbolic.png"; \
+ rm -f $(DESTDIR)/$(themedir)/$$size/$$context/$$name; \
done; \
done
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]