Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/13rac1/emojione-color-font.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 45d4050..312d86d 100644
--- a/Makefile
+++ b/Makefile
@@ -16,6 +16,8 @@ OSX_FONT := build/$(FONT_PREFIX)-OSX.ttf
OSX_PACKAGE := build/$(FONT_PREFIX)-OSX-$(VERSION)
LINUX_PACKAGE := $(FONT_PREFIX)-Linux-$(VERSION)
DEB_PACKAGE := fonts-emojione-svginot
+WINDOWS_TOOLS := windows
+WINDOWS_PACKAGE := build/$(FONT_PREFIX)-Win-$(VERSION)
# There are two SVG source directories to keep the emojione assets separate
# from the additions
@@ -31,12 +33,12 @@ SVG_STAGE_FILES := $(patsubst $(SVG_EXTRA)/%.svg, build/stage/%.svg, $(SVG_STAGE
SVG_BW_FILES := $(patsubst build/stage/%.svg, build/svg-bw/%.svg, $(SVG_STAGE_FILES))
SVG_COLOR_FILES := $(patsubst build/stage/%.svg, build/svg-color/%.svg, $(SVG_STAGE_FILES))
-.PHONY: all package regular-package linux-package osx-package copy-extra clean
+.PHONY: all package regular-package linux-package osx-package windows-package copy-extra clean
all: $(REGULAR_FONT) $(OSX_FONT)
# Create the operating system specific packages
-package: regular-package linux-package deb-package osx-package
+package: regular-package linux-package deb-package osx-package windows-package
regular-package: $(REGULAR_FONT)
rm -f $(REGULAR_PACKAGE).zip
@@ -73,6 +75,16 @@ osx-package: $(OSX_FONT)
cp README.md $(OSX_PACKAGE)
7z a -tzip -mx=9 $(OSX_PACKAGE).zip ./$(OSX_PACKAGE)
+windows-package: $(REGULAR_FONT)
+ rm -f $(WINDOWS_PACKAGE).zip
+ rm -rf $(WINDOWS_PACKAGE)
+ mkdir $(WINDOWS_PACKAGE)
+ cp $(REGULAR_FONT) $(WINDOWS_PACKAGE)
+ cp LICENSE* $(WINDOWS_PACKAGE)
+ cp README.md $(WINDOWS_PACKAGE)
+ cp $(WINDOWS_TOOLS)/* $(WINDOWS_PACKAGE)
+ 7z a -tzip -mx=9 $(WINDOWS_PACKAGE).zip ./$(WINDOWS_PACKAGE)
+
# Build both versions of the fonts
$(REGULAR_FONT): $(SVG_BW_FILES) $(SVG_COLOR_FILES) copy-extra
$(SCFBUILD) -c scfbuild.yml -o $(REGULAR_FONT) --font-version="$(VERSION)"