1## Makefile.am for tuxtype - data/fonts:
2
3## A little explanation - these variables allow building of the dist tarball
4## either without the fonts ("make dist") or with the fonts ("make dist_with_fonts"),
5## see also top level Makefile.am.
6## 'data_fonts' is a list of the font files in this directory.
7## 'dist_fonts' determines what fonts get bundled in. It is empty by default,
8## but gets set to 'data_fonts' in the "make dist_with_fonts" target in the
9## top-level Makefile.am.
10
11EXTRA_DIST = $(dist_fonts)
12
13
14## Handle install "manually" because otherwise it fails on package without fonts.
15## The INSTALL_DATA lines are prefixed with '-' because the fonts may or may not be
16## included (depending if package built with "make dist" or "make dist_with_fonts"
17## 'fontsdir' is where the fonts are installed.
18
19fontsdir = $(pkgdatadir)/fonts
20
21install-data-local:
22	$(MKDIR_P) $(DESTDIR)$(fontsdir)
23	-$(INSTALL_DATA) $(srcdir)/AndikaDesRevG.ttf 	$(DESTDIR)$(fontsdir)
24	-$(INSTALL_DATA) $(srcdir)/DoulosSILR.ttf 	$(DESTDIR)$(fontsdir)
25	-$(INSTALL_DATA) $(srcdir)/Kedage-n.ttf 	$(DESTDIR)$(fontsdir)
26	-$(INSTALL_DATA) $(srcdir)/lohit_bn.ttf 	$(DESTDIR)$(fontsdir)
27	-$(INSTALL_DATA) $(srcdir)/lohit_gu.ttf 	$(DESTDIR)$(fontsdir)
28	-$(INSTALL_DATA) $(srcdir)/lohit_hi.ttf 	$(DESTDIR)$(fontsdir)
29	-$(INSTALL_DATA) $(srcdir)/lohit_ta.ttf 	$(DESTDIR)$(fontsdir)
30	-$(INSTALL_DATA) $(srcdir)/lohit_pa.ttf 	$(DESTDIR)$(fontsdir)
31	-$(INSTALL_DATA) $(srcdir)/Loma.ttf 		$(DESTDIR)$(fontsdir)
32	-$(INSTALL_DATA) $(srcdir)/Rachana_w01.ttf 	$(DESTDIR)$(fontsdir)
33	-$(INSTALL_DATA) $(srcdir)/utkal.ttf 		$(DESTDIR)$(fontsdir)
34	-$(INSTALL_DATA) $(srcdir)/Vemana.ttf 		$(DESTDIR)$(fontsdir)
35
36uninstall-local:
37	-rm -f $(DESTDIR)$(fontsdir)/AndikaDesRevG.ttf
38	-rm -f $(DESTDIR)$(fontsdir)/DoulosSILR.ttf
39	-rm -f $(DESTDIR)$(fontsdir)/Kedage-n.ttf
40	-rm -f $(DESTDIR)$(fontsdir)/lohit_bn.ttf
41	-rm -f $(DESTDIR)$(fontsdir)/lohit_gu.ttf
42	-rm -f $(DESTDIR)$(fontsdir)/lohit_hi.ttf
43	-rm -f $(DESTDIR)$(fontsdir)/lohit_ta.ttf
44	-rm -f $(DESTDIR)$(fontsdir)/lohit_pa.ttf
45	-rm -f $(DESTDIR)$(fontsdir)/Loma.ttf
46	-rm -f $(DESTDIR)$(fontsdir)/Rachana_w01.ttf
47	-rm -f $(DESTDIR)$(fontsdir)/utkal.ttf
48	-rm -f $(DESTDIR)$(fontsdir)/Vemana.ttf
49	-rm -f $(DESTDIR)$(fontsdir)
50