fce120ff56ff5ea23074d237736be5e70dc18044
[platform/upstream/groff.git] / font / devutf8 / devutf8.am
1 # Copyright (C) 2014-2018 Free Software Foundation, Inc.
2 #
3 # Last update: 13 Aug 2015
4 #
5 # This file is part of 'groff'.
6 #
7 # 'groff' is free software; you can redistribute it and/or modify it
8 # under the terms of the GNU General Public License as published by
9 # the Free Software Foundation, either version 3 of the License, or
10 # (at your option) any later version.
11 #
12 # 'groff' is distributed in the hope that it will be useful, but
13 # WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15 # General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
19
20 devutf8_srcdir = $(top_srcdir)/font/devutf8
21 DEVUTF8FONTS = R I B BI
22 DEVUTF8FONTSFILES = \
23   font/devutf8/R font/devutf8/I font/devutf8/B font/devutf8/BI
24
25 DEVUTF8RES = 240
26 DEVUTF8CPI = 10
27 DEVUTF8LPI = 6
28
29 devutf8fontdir = $(fontdir)/devutf8
30 devutf8font_DATA = $(DEVUTF8FONTSFILES) font/devutf8/DESC
31 MOSTLYCLEANFILES += $(DEVUTF8FONTSFILES) font/devutf8/DESC
32 EXTRA_DIST += \
33   font/devutf8/R.proto \
34   font/devutf8/DESC.proto \
35   font/devutf8/NOTES \
36   font/devutf8/R.in
37
38 $(DEVUTF8FONTSFILES): $(devutf8_srcdir)/R.proto
39         $(AM_V_GEN)$(MKDIR_P) `dirname $@` \
40         && $(RM) $@ \
41         && $(SHELL) $(GENFONTSSH) $(devutf8_srcdir)/R.proto \
42              $(DEVUTF8RES) $(DEVUTF8CPI) `basename $@` > $@
43
44 font/devutf8/DESC: $(devutf8_srcdir)/DESC.proto
45         $(AM_V_GEN)$(MKDIR_P) `dirname $@` \
46         && $(SHELL) $(GENDESCSH) $(devutf8_srcdir)/DESC.proto \
47              $(DEVUTF8RES) $(DEVUTF8CPI) $(DEVUTF8LPI) $(DEVUTF8FONTS) > $@
48
49
50 ########################################################################
51 # Editor settings
52 ########################################################################
53 #
54 # Local Variables:
55 # mode: makefile-automake
56 # fill-column: 72
57 # End:
58 # vim: set filetype=automake textwidth=72: