]> gitweb.michael.orlitzky.com - charm-bypass.git/commitdiff
Makefile.am: use double-suffix rule to build base64 from woff2
authorMichael Orlitzky <michael@orlitzky.com>
Thu, 19 Oct 2023 00:40:39 +0000 (20:40 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Thu, 19 Oct 2023 01:15:50 +0000 (21:15 -0400)
Makefile.am

index 1660c06ce5a50f7efff2fa1362e5f1796521aced..181761d97cb93118e6240b54751a87e07223c12c 100644 (file)
@@ -33,9 +33,7 @@ day.svg: src/day.svg
 
 # Base64-encode a woff2 (web open font format 2.0) file. We use this
 # to embed fonts directly into the CSS that requires them.
-CharmBypass-Regular.base64: src/CharmBypass-Regular.woff2
-       @BASE64@ -w0 $< > $@
-CharmBypass-Bold.base64: src/CharmBypass-Bold.woff2
+.woff2.base64:
        @BASE64@ -w0 $< > $@
 
 # Build index.html by substituting the contents of a few (single