1 .PHONY: public release install xonotic clean
2 .PRECIOUS: tmp/fea/Xolonium-Regular.fea tmp/fea/Xolonium-Bold.fea
6 release := xolonium-fonts-${version}
12 release/public/Xolonium-Bold.otf \
13 release/public/Xolonium-Regular.otf
16 release/public/FEATURES.txt \
17 release/public/FONTLOG.txt \
18 release/public/LICENSE.txt \
19 release/public/xolonium.png \
20 release/public/Xolonium-Bold.otf \
21 release/public/Xolonium-Regular.otf
23 @ rm -rf ${release}.zip
26 @ 7za a -tzip -mfb=258 -mpass=15 ${release}.zip ${release}
29 @ cp release/public/Xolonium-Regular.otf ~/.fonts/Xolonium-Regular.otf
30 @ cp release/public/Xolonium-Bold.otf ~/.fonts/Xolonium-Bold.otf
36 release/xonotic/Xolonium-GPL-Bold.otf \
37 release/xonotic/Xolonium-GPL-Regular.otf
45 @ rm -rf ${release}.zip
46 @ rm -rf release/public/Xolonium-Bold.otf
47 @ rm -rf release/public/Xolonium-Regular.otf
48 @ rm -rf release/xonotic/Xolonium-GPL-Bold.otf
49 @ rm -rf release/xonotic/Xolonium-GPL-Regular.otf
54 release/public/Xolonium-%.otf: \
55 src/sfd/Xolonium-%.sfd \
56 src/sfd/Xolonium-Dingbats.sfd \
57 tmp/fea/Xolonium-%.fea
58 @ ./tools/compile.ff ${version} $^ $@
60 tmp/fea/Xolonium-%.fea: \
61 src/fea/Xolonium-Shared-Head.fea \
62 src/fea/Xolonium-Kern-Latin.fea \
63 src/fea/Xolonium-Kern-Greek.fea \
64 src/fea/Xolonium-Kern-Cyrillic.fea \
65 src/fea/Xolonium-Unshared-%.fea \
66 src/fea/Xolonium-Shared-Tail.fea
68 @ cat $^ | sed -f tools/substitute.sed > $@
70 release/xonotic/Xolonium-GPL-%.otf: \
71 tmp/sfd/Xolonium-GPL-%.sfd \
72 src/sfd/Xolonium-Dingbats.sfd \
73 tmp/fea/Xolonium-%.fea
74 @ ./tools/compile.ff ${version} $^ $@
76 tmp/sfd/Xolonium-GPL-%.sfd: \
77 src/sfd/Xolonium-%.sfd
80 @ sed -i 's|FontName: Xolonium|FontName: Xolonium-GPL|' $@
81 @ sed -i 's|FullName: Xolonium|FullName: Xolonium GPL|' $@
82 @ sed -i 's|FamilyName: Xolonium|FamilyName: Xolonium GPL|' $@
83 @ sed -i 's|LangName:.*|LangName: 1033 "" "" "$*" "" "" "" "" "" "" "Severin Meyer" "" "http://gitlab.com/sev/xolonium" "" "This font is licensed under the GNU General Public License, either version 2 of the license, or any later version.+AAoACgAA-This font is provided WITHOUT WARRANTY OF ANY KIND, either express or implied. See the GNU General Public License for more details.+AAoACgAA-As a special exception, if you create a document which uses this font, and embed this font or unaltered portions of this font into the document, this font does not by itself cause the resulting document to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the document might be covered by the GNU General Public License. If you modify this font, you may extend this exception to your version of the font, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version." "http://www.gnu.org/licenses/gpl-2.0"|' $@