Install in emoji subdir

parent 16fdee25
......@@ -2,7 +2,7 @@
fonts_DATA = emojione-android.ttf NotoColorEmoji.ttf TwitterColorEmojiv2.ttf
fontsdir = $(datarootdir)/fonts/truetype
fontsdir = $(datarootdir)/fonts/truetype/emoji
distclean-am: clean-am
twemoji.postinst
\ No newline at end of file
twemoji.postinst
\ No newline at end of file
......@@ -14,10 +14,10 @@ DO = $(CURDIR)/debian/emojione
override_dh_auto_install:
rm -rf $(DN) $(DO) $(DT)
dh_auto_install -- DESTDIR=$(DN)
mkdir -p $(DO)/usr/share/fonts/truetype
mkdir -p $(DT)/usr/share/fonts/truetype
mv $(DN)/usr/share/fonts/truetype/emojione-android.ttf $(DO)/usr/share/fonts/truetype
mv $(DN)/usr/share/fonts/truetype/TwitterColorEmojiv2.ttf $(DT)/usr/share/fonts/truetype
mkdir -p $(DO)/usr/share/fonts/truetype/emoji
mkdir -p $(DT)/usr/share/fonts/truetype/emoji
mv $(DN)/usr/share/fonts/truetype/emojione-android.ttf $(DO)/usr/share/fonts/truetype/emoji
mv $(DN)/usr/share/fonts/truetype/TwitterColorEmojiv2.ttf $(DT)/usr/share/fonts/truetype/emoji
override_dh_installchangelogs:
mkdir $(DN)/usr/share/doc/emoji/
......
#!/bin/sh
#
# Postinst for fonts
echo "Caching font $(basename $0 | cut -f1 -d.)"
fc-cache
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment