1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
## Makefile.am for tuxmath - data/fonts:
## A little explanation - these variables allow building of the dist tarball
## either without the fonts ("make dist") or with the fonts ("make dist_with_fonts"),
## see also top level Makefile.am.
## 'data_fonts' is a list of the font files in this directory.
## 'dist_fonts' determines what fonts get bundled in. It is empty by default,
## but gets set to 'data_fonts' in the "make dist_with_fonts" target in the
## top-level Makefile.am.
EXTRA_DIST = $(dist_fonts)
## Handle install "manually" because otherwise it fails on package without fonts.
## The INSTALL_DATA lines are prefixed with '-' because the fonts may or may not be
## included (depending if package built with "make dist" or "make dist_with_fonts"
## 'fontsdir' is where the fonts are installed.
fontsdir = $(pkgdatadir)/fonts
install-data-local:
$(MKDIR_P) $(DESTDIR)$(fontsdir)
-$(INSTALL_DATA) $(srcdir)/AndikaDesRevG.ttf $(DESTDIR)$(fontsdir)
uninstall-local:
-rm -f $(DESTDIR)$(fontsdir)/AndikaDesRevG.ttf
-rm -f $(DESTDIR)$(fontsdir)
|