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:
authorBrad Erickson <eosrei@gmail.com>2016-04-16 02:47:31 +0300
committerBrad Erickson <eosrei@gmail.com>2016-04-16 03:35:30 +0300
commit989fd3fb972f5099c70e4e45b2481dc9bbd95f45 (patch)
tree90385d3a6eae8483ad15719e871d5628e36caa3a /Makefile
parentbd12b2c7ffbf7238e00a662e33593ed01bbfe98b (diff)
linux: Add Debian packaging
For #9
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7b1d390..561c18d 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,7 @@ REGULAR_PACKAGE := build/$(FONT_PREFIX)-$(VERSION)
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
# There are two SVG source directories to keep the emojione assets separate.
SVG_EMOJIONE := assets/emojione-svg
@@ -32,7 +33,7 @@ SVG_COLOR_FILES := $(patsubst build/stage/%.svg, build/svg-color/%.svg, $(SVG_ST
all: $(REGULAR_FONT) $(OSX_FONT)
# Create the operating system specific packages
-package: regular-package linux-package osx-package
+package: regular-package linux-package deb-package osx-package
regular-package: $(REGULAR_FONT)
rm -f $(REGULAR_PACKAGE).zip
@@ -53,6 +54,13 @@ linux-package: $(REGULAR_FONT)
cp -R linux/* build/$(LINUX_PACKAGE)
tar zcvf build/$(LINUX_PACKAGE).tar.gz -C build $(LINUX_PACKAGE)
+deb-package: linux-package
+ rm -rf build/$(DEB_PACKAGE)-$(VERSION)
+ cp build/$(LINUX_PACKAGE).tar.gz build/$(DEB_PACKAGE)_$(VERSION).orig.tar.gz
+ cp -R build/$(LINUX_PACKAGE) build/$(DEB_PACKAGE)-$(VERSION)
+ cd build/$(DEB_PACKAGE)-$(VERSION); debuild -us -uc
+ #debuild -S
+
osx-package: $(OSX_FONT)
rm -f $(OSX_PACKAGE).zip
rm -rf $(OSX_PACKAGE)