X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=Makefile.am;h=2ddde991e5f20a2012c5f7379f9b7c67e50883fa;hb=b5208772907735a011fe2c9c5898d5c0e2858225;hp=0e76e8c76e39cafaffd547ddaed31752d86e377b;hpb=7957bb9b585ee4d449840f33da78e1e59a9143a1;p=charm-bypass.git diff --git a/Makefile.am b/Makefile.am index 0e76e8c..2ddde99 100644 --- a/Makefile.am +++ b/Makefile.am @@ -25,6 +25,13 @@ PRECIOUS_IDS = \ tickettime \ zone +SCOUR = @SCOUR@ --enable-id-stripping \ + --enable-comment-stripping \ + --remove-descriptive-elements \ + --no-renderer-workaround \ + --no-line-breaks \ + --error-on-flowtext + # Optimize our SVG once using XSL, to catch a few things # that "scour" misses. tableau.min.svg: tableau.svg svgclean.xsl @@ -33,15 +40,9 @@ tableau.min.svg: tableau.svg svgclean.xsl # Optimize our SVG again, and remove its XML prologue so that it can # be included directly into the HTML document. tableau.min.min.svg: tableau.min.svg - @SCOUR@ --protect-ids-list=$$(echo $(PRECIOUS_IDS) | tr ' ' ',') \ - --enable-id-stripping \ - --enable-comment-stripping \ - --remove-descriptive-elements \ - --no-renderer-workaround \ - --strip-xml-prolog \ - --no-line-breaks \ - --error-on-flowtext \ - $< > $@ + $(SCOUR) --protect-ids-list=$$(echo $(PRECIOUS_IDS) | tr ' ' ',') \ + --strip-xml-prolog \ + $< > $@ # Use FontForge to convert the sfd source files to woff2. .sfd.woff2: