| 1 |
# |
| 2 |
# Spleen 2.2.0 |
| 3 |
# Copyright (c) 2018-2026, Frederic Cambus |
| 4 |
# https://www.cambus.net/ |
| 5 |
# |
| 6 |
# Created: 2026-01-30 |
| 7 |
# Last Updated: 2026-01-30 |
| 8 |
# |
| 9 |
# Spleen is released under the BSD 2-Clause license. |
| 10 |
# See LICENSE file for details. |
| 11 |
# |
| 12 |
# SPDX-License-Identifier: BSD-2-Clause |
| 13 |
# |
| 14 |
|
| 15 |
OTS ?= ots-sanitize |
| 16 |
TTX ?= ttx |
| 17 |
|
| 18 |
check: |
| 19 |
# Validate and sanitize OTF files |
| 20 |
@$(TTX) -l ../spleen-6x12.otf |
| 21 |
@echo "Sanitizing: spleen-6x12.otf" |
| 22 |
@$(OTS) ../spleen-6x12.otf |
| 23 |
|
| 24 |
@$(TTX) -l ../spleen-8x16.otf |
| 25 |
@echo "Sanitizing: spleen-8x16.otf" |
| 26 |
@$(OTS) ../spleen-8x16.otf |
| 27 |
|
| 28 |
@$(TTX) -l ../spleen-12x24.otf |
| 29 |
@echo "Sanitizing: spleen-12x24.otf" |
| 30 |
@$(OTS) ../spleen-12x24.otf |
| 31 |
|
| 32 |
@$(TTX) -l ../spleen-16x32.otf |
| 33 |
@echo "Sanitizing: spleen-16x32.otf" |
| 34 |
@$(OTS) ../spleen-16x32.otf |
| 35 |
|
| 36 |
@$(TTX) -l ../spleen-32x64.otf |
| 37 |
@echo "Sanitizing: spleen-32x64.otf" |
| 38 |
@$(OTS) ../spleen-32x64.otf |
| 39 |
|
| 40 |
# Sanitize WOFF files |
| 41 |
@echo "Sanitizing: spleen-6x12.woff" |
| 42 |
@$(OTS) ../spleen-6x12.woff |
| 43 |
@echo "Sanitizing: spleen-8x16.woff" |
| 44 |
@$(OTS) ../spleen-8x16.woff |
| 45 |
@echo "Sanitizing: spleen-12x24.woff" |
| 46 |
@$(OTS) ../spleen-12x24.woff |
| 47 |
@echo "Sanitizing: spleen-16x32.woff" |
| 48 |
@$(OTS) ../spleen-16x32.woff |
| 49 |
@echo "Sanitizing: spleen-32x64.woff" |
| 50 |
@$(OTS) ../spleen-32x64.woff |
| 51 |
|
| 52 |
# Sanitize WOFF2 files |
| 53 |
@echo "Sanitizing: spleen-6x12.woff2" |
| 54 |
@$(OTS) ../spleen-6x12.woff2 |
| 55 |
@echo "Sanitizing: spleen-8x16.woff2" |
| 56 |
@$(OTS) ../spleen-8x16.woff2 |
| 57 |
@echo "Sanitizing: spleen-12x24.woff2" |
| 58 |
@$(OTS) ../spleen-12x24.woff2 |
| 59 |
@echo "Sanitizing: spleen-16x32.woff2" |
| 60 |
@$(OTS) ../spleen-16x32.woff2 |
| 61 |
@echo "Sanitizing: spleen-32x64.woff2" |
| 62 |
@$(OTS) ../spleen-32x64.woff2 |
| 63 |
|
| 64 |
.PHONY: check |