1# Copyright 2005 Red Hat, Inc. 2# 3# Permission to use, copy, modify, distribute, and sell this software 4# and its documentation for any purpose is hereby granted without 5# fee, provided that the above copyright notice appear in all copies 6# and that both that copyright notice and this permission notice 7# appear in supporting documentation, and that the name of Red Hat 8# not be used in advertising or publicity pertaining to distribution 9# of the software without specific, written prior permission. Red 10# Hat makes no representations about the suitability of this software 11# for any purpose. It is provided "as is" without express or implied 12# warranty. 13# 14# RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN 16# NO EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS 18# OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, 19# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 20# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 21 22ttffontdir = @TTFFONTDIR@ 23ttffont_DATA = GohaTibebZemen.ttf 24 25otffontdir = @OTFFONTDIR@ 26otffont_DATA = GohaTibebZemen.otf 27 28# Used by RUN_FCCACHE 29fontdir = $(ttffontdir) $(otffontdir) 30 31EXTRA_DIST = $(ttffont_DATA) $(otffont_DATA) license.txt README.md 32 33MAINTAINERCLEANFILES = ChangeLog INSTALL 34 35install-data-hook: 36if INSTALL_TTF 37 @rm -f $(DESTDIR)$(ttffontdir)/fonts.scale 38 $(MKFONTSCALE) $(DESTDIR)$(ttffontdir) 39 @rm -f $(DESTDIR)$(ttffontdir)/fonts.dir 40 $(MKFONTDIR) $(DESTDIR)$(ttffontdir) 41endif 42if INSTALL_OTF 43 @rm -f $(DESTDIR)$(otffontdir)/fonts.scale 44 $(MKFONTSCALE) $(DESTDIR)$(otffontdir) 45 @rm -f $(DESTDIR)$(otffontdir)/fonts.dir 46 $(MKFONTDIR) $(DESTDIR)$(otffontdir) 47endif 48 @RUN_FCCACHE@ 49 50distuninstallcheck: 51 @: 52 53 54.PHONY: ChangeLog INSTALL 55 56INSTALL: 57 $(INSTALL_CMD) 58 59ChangeLog: 60 $(CHANGELOG_CMD) 61 62dist-hook: ChangeLog INSTALL 63