1 .PHONY: all dist clean clean-dist
8 FONTS = Xolonium-Regular Xolonium-Bold
16 DIR_DIST = xolonium-fonts-$(VERSION)
19 FILES_MISC = ChangeLog COPYING COVERAGE CREDITS Makefile README
20 FILES_SFD = $(foreach font, $(FONTS), $(DIR_SRC)/$(font).sfd)
21 FILES_OTF = $(foreach font, $(FONTS), $(DIR_OTF)/$(font).otf)
22 FILES_FEA = $(DIR_SRC)/Xolonium-Regular-kern.fea
23 SCRIPT_OTF = $(DIR_SCRIPTS)/generate-otf.ff
29 $(DIR_OTF)/Xolonium-Regular.otf: Xolonium-Regular.sfd Xolonium-Regular-kern.fea
31 $(FONTFORGE) -script $(SCRIPT_OTF) $+ $@
34 $(DIR_OTF)/Xolonium-Bold.otf: Xolonium-Bold.sfd Xolonium-Regular-kern.fea
36 $(FONTFORGE) -script $(SCRIPT_OTF) $+ $@
40 install -d $(DIR_DIST)/$(DIR_SRC)
41 install -d $(DIR_DIST)/$(DIR_OTF)
42 install -d $(DIR_DIST)/$(DIR_SCRIPTS)
44 install -t $(DIR_DIST) $(FILES_MISC)
45 install -t $(DIR_DIST)/$(DIR_SRC) $(FILES_SFD) $(FILES_FEA)
46 install -t $(DIR_DIST)/$(DIR_OTF) $(FILES_OTF)
47 install -t $(DIR_DIST)/$(DIR_SCRIPTS) $(SCRIPT_OTF)
49 zip -9r $(DIR_DIST).zip $(DIR_DIST)
56 rm -rf -- $(DIR_DIST)*