+PRECIOUS_IDS = \
+ bus \
+ city \
+ citycopy \
+ codebg \
+ codetext \
+ clouds \
+ cloudscopy \
+ destination \
+ origin \
+ origindest \
+ train \
+ tram \
+ trees \
+ treescopy \
+ serviceid \
+ servicename \
+ sky \
+ ticket \
+ ticketbg \
+ ticketdate \
+ tickettime \
+ zone
+
+# The base "scour" command used to optimize the tableau and favicon.
+SCOUR = @SCOUR@ \
+ --enable-id-stripping \
+ --enable-comment-stripping \
+ --remove-descriptive-elements \
+ --no-renderer-workaround \
+ --no-line-breaks \
+ --error-on-flowtext
+
+# Optimize the favicon using scour.
+favicon.min.svg: favicon.svg
+ $(SCOUR) $< > $@
+
+# Optimize the tableau once using XSL, to catch a few things that
+# "scour" will miss...
+tableau.min.svg: tableau.svg svgclean.xsl
+ @XSLTPROC@ $(srcdir)/svgclean.xsl $< > $@