summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
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
+