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