From 182b29afeb56c244e0b939acbeb0cae26fa1fc4f Mon Sep 17 00:00:00 2001 From: Praveen Arimbrathodiyil Date: Wed, 9 Jun 2010 19:09:19 +0530 Subject: adding fontconfig conf file for scaling Meera --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d7157a1..e4101e2 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,8 @@ install: */*.ttf @for font in `echo ${fonts}`; \ do \ install -D -m 0644 $${font}/$${font}.ttf ${fontpath}/$${font}.ttf; done + install -m 0644 malayalam-fonts.conf /etc/fonts/conf.avail/67-malayalam-fonts.conf + ln -s /etc/fonts/conf.avail/67-malayalam-fonts.conf /etc/fonts/conf.d uninstall: @for font in `echo ${fonts}`; \ @@ -19,9 +21,16 @@ uninstall: if [ -d ${fontpath} ]; then rmdir ${fontpath}; fi + if [ -f /etc/fonts/conf.d/67-malayalam-fonts.conf ]; then \ + rm /etc/fonts/conf.d/67-malayalam-fonts.conf; fi + + if [ -f /etc/fonts/conf.avail/67-malayalam-fonts.conf ]; then \ + rm /etc/fonts/conf.avail/67-malayalam-fonts.conf; fi + clean: @for font in `echo ${fonts}`; \ do \ if [ -f $${font}/$${font}.ttf ]; then rm -f $${font}/$${font}.ttf; fi \ done + -- cgit