1 # Copyright (C) 2014-2020 Free Software Foundation, Inc.
3 # This file is part of 'groff'.
5 # 'groff' is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
10 # 'groff' is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18 devutf8_srcdir = $(top_srcdir)/font/devutf8
19 DEVUTF8FONTS = R I B BI
21 font/devutf8/R font/devutf8/I font/devutf8/B font/devutf8/BI
27 devutf8fontdir = $(fontdir)/devutf8
28 devutf8font_DATA = $(DEVUTF8FONTSFILES) font/devutf8/DESC
29 MOSTLYCLEANFILES += $(DEVUTF8FONTSFILES) font/devutf8/DESC
31 font/devutf8/R.proto \
32 font/devutf8/DESC.proto \
36 $(DEVUTF8FONTSFILES): $(devutf8_srcdir)/R.proto
37 $(AM_V_GEN)$(MKDIR_P) `dirname $@` \
39 && $(SHELL) $(GENFONTSSH) $(devutf8_srcdir)/R.proto \
40 $(DEVUTF8RES) $(DEVUTF8CPI) `basename $@` >$@
42 font/devutf8/DESC: $(devutf8_srcdir)/DESC.proto
43 $(AM_V_GEN)$(MKDIR_P) `dirname $@` \
44 && $(SHELL) $(GENDESCSH) $(devutf8_srcdir)/DESC.proto \
45 $(DEVUTF8RES) $(DEVUTF8CPI) $(DEVUTF8LPI) $(DEVUTF8FONTS) >$@
47 # (UTF-8-encoded) text documents to be produced by troff should depend
48 # on this stamp file to ensure that grotty's device and font description
49 # files are available.
50 MOSTLYCLEANFILES += font/devutf8/stamp
51 font/devutf8/stamp: font/devutf8/DESC $(DEVUTF8FONTSFILES)
56 # mode: makefile-automake
59 # vim: set autoindent filetype=automake textwidth=72: