3 # List of element IDs that we use in the HTML document.
21 # Optimize our SVG, and remove its XML prologue so that it can be
22 # included directly into the HTML document.
24 @SCOUR@ --protect-ids-list=$$(echo $(PRECIOUS_IDS) | tr ' ' ',') \
25 --enable-id-stripping \
26 --enable-comment-stripping \
27 --remove-descriptive-elements \
28 --no-renderer-workaround \
34 # Base64-encode a woff2 (web open font format 2.0) file. We use this
35 # to embed fonts directly into the CSS that requires them.
39 # Build index.html by substituting the contents of a few (single
40 # line!) files into @PLACEHOLDERS@ within index.html.in. If you
41 # put tildes in day.svg this will probably break, so please don't
43 index.html: index.html.in day.min.svg CharmBypass-Regular.base64 CharmBypass-Bold.base64
44 sed -e "s~@CBPREGULAR@~$$(cat CharmBypass-Regular.base64)~" \
45 -e "s~@CBPBOLD@~$$(cat CharmBypass-Bold.base64)~" \
46 -e "s~@SVGDATA@~$$(cat day.min.svg)~" \
49 # If you really want to, we support installing index.html
50 # to (say) /usr/share/charm-bypass/index.html.
51 dist_pkgdata_DATA = index.html
53 # Automake doesn't understand our wacky build process so we have to
54 # tell it which files are produced by running "make"
55 CLEANFILES = $(dist_pkgdata_DATA) CharmBypass-Regular.base64 CharmBypass-Bold.base64 day.min.svg