From be7d48e11d51f2e2f813ae1d4482df140b8fa8b5 Mon Sep 17 00:00:00 2001 From: Jehan Date: Mon, 15 Feb 2016 16:11:44 +0100 Subject: [PATCH] icons: fix gimp-toilet-paper icon exception. It was infinitely-looping because of a mis-usage of the % matching rule. On the rule or dependency side, I must use $(@D) instead of % to match the directory part of the target (I could also have used $* to get only the matching part of the stem). --- icons/Symbolic-Inverted/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icons/Symbolic-Inverted/Makefile.am b/icons/Symbolic-Inverted/Makefile.am index 471722af9c..b26b34b5fe 100644 --- a/icons/Symbolic-Inverted/Makefile.am +++ b/icons/Symbolic-Inverted/Makefile.am @@ -14,7 +14,7 @@ include $(top_srcdir)/icons/Symbolic/icon-list.mk scalable/gimp-default-colors.svg: ../Symbolic/scalable/gimp-default-colors.svg mkdir -p `dirname $<` && cp -f $< $@ -%/gimp-toilet-paper.png: $(top_srcdir)/icons/Symbolic/%/gimp-toilet-paper.png +%/gimp-toilet-paper.png: $(top_srcdir)/icons/Symbolic/$(@D)/gimp-toilet-paper.png mkdir -p `dirname $<` && cp -f $< $@ scalable/gimp-toilet-paper.svg: ../Symbolic/scalable/gimp-toilet-paper.svg mkdir -p `dirname $<` && cp -f $< $@