<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
    <title></title>
  </head>

  <body>
    <p>&#160;</p>

    <div style="margin: 5px 0px 5px 0px; font-family: monospace;">
      Alexandre Julliard &lt;julliard@winehq.org&gt; wrote:<br />
      &gt; Joel Holdsworth &lt;joel@airwebreathe.org.uk&gt; writes:<br />
      &gt;<br />
      &gt; &gt; @@ -188,6 +188,11 @@ filter: dummy<br />
      &gt; &gt;&#160; .man.in.man:<br />
      &gt; &gt;&#160; &#160; &#160; &#160; &#160; LC_ALL=C sed -e &#39;s,@bindir\@,$(bindir),g&#39; -e &#39;s,@dlldir\@,$(dlldir),g&#39; -e &#39;s,@PACKAGE_STRING\@,@PACKAGE_STRING@,g&#39; $&lt; &gt;$@ || ($(RM) $@ &amp;&amp; false)<br />
      &gt; &gt;&#160;<br />
      &gt; &gt; +# Rules for icons<br />
      &gt; &gt; +<br />
      &gt; &gt; +ifdef SVG_SRCS<br />
      &gt; &gt; +<br />
      &gt; &gt; +# Depreciated icon build rule<br />
      &gt; &gt;&#160; .svg.ico:<br />
      &gt; &gt;&#160; &#160; &#160; &#160; &#160; $(RSVG) -w 16 -h 16 -f png $&lt; $*-16.png<br />
      &gt; &gt;&#160; &#160; &#160; &#160; &#160; $(RSVG) -w 32 -h 32 -f png $&lt; $*-32.png<br />
      &gt; &gt; @@ -195,6 +200,17 @@ filter: dummy<br />
      &gt; &gt;&#160; &#160; &#160; &#160; &#160; $(ICOTOOL) -c -o $@ $*-16.png $*-32.png $*-48.png<br />
      &gt; &gt;&#160; &#160; &#160; &#160; &#160; $(RM) $*-16.png $*-32.png $*-48.png<br />
      &gt; &gt;&#160;<br />
      &gt; &gt; +else<br />
      &gt; &gt; +<br />
      &gt; &gt; +resources/%-32.png: resources/%.svg<br />
      &gt; &gt; +&#160; &#160; &#160; &#160; $(RSVG) -f png $&lt; $@<br />
      &gt; &gt; +<br />
      &gt; &gt; +resources/%.ico : resources/%-*-4.png resources/%-*-8.png \<br />
      &gt; &gt; +&#160; &#160; &#160; &#160; resources/%-16-32.png resources/%-32-32.png resources/%-48-32.png<br />
      &gt; &gt; +&#160; &#160; &#160; &#160; $(ICOTOOL) -c -o $@ $^<br />
      &gt; &gt; +<br />
      &gt; &gt; +endif<br />
      &gt;<br />
      &gt; That&#39;s GNU make specific, you can&#39;t do that.
    </div>

    <p style="margin: 0px;">&#160;</p>

    <p style="margin: 0px;">Yes I wondered if that might be the case. Do you (or anyone) have any thoughts about how to approach this? The .svg.ico suffix rule that&#39;s present at the moment works if there&#39;s a 1:1 relationship; one svg results in one ico. My problem is that a 9:1 relationship is required. Do you have any suggestions about how to make a generic rule to do that? Does it require changes to makedep?</p>

    <p style="margin: 0px;">&#160;</p>

    <div style="margin: 5px 0px 5px 0px; font-family: monospace;">
      &gt; Also please don&#39;t send such a huge patch series. The first step should<br />
      &gt; be to get just one icon committed with the proper infrastructure. Then<br />
      &gt; you can consider sending more of them, preferably one dll at a time.
    </div>

    <p style="margin: 0px;">Sure - I can understand that. The reason I sent so many was that I wanted to show you that I don&#39;t plan to leave a depreciated SVG build rule lying around. I also wanted you to see and comment on my approach of creating resources subdirectories in these dlls like user32 has, and then putting the icon images in these.</p>

    <p style="margin: 0px;">&#160;</p>

    <p style="margin: 0px;">What do you think?</p>
    <br />
    Joel Holdsworth<br />
  </body>
</html>