Imported Upstream version 1.22.4
[platform/upstream/groff.git] / font / devcp1047 / devcp1047.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 devcp1047_srcdir = $(top_srcdir)/font/devcp1047
21 DEVCP1047FONTS = R I B BI
22 DEVCP1047FONTSFILES = \
23   font/devcp1047/R font/devcp1047/I font/devcp1047/B font/devcp1047/BI
24
25 DEVCP1047RES = 240
26 DEVCP1047CPI = 10
27 DEVCP1047LPI = 6
28
29 devcp1047fontdir = $(fontdir)/devcp1047
30 devcp1047font_DATA = $(DEVCP1047FONTSFILES) font/devcp1047/DESC
31 MOSTLYCLEANFILES += $(DEVCP1047FONTSFILES) font/devcp1047/DESC
32 EXTRA_DIST += font/devcp1047/R.proto font/devcp1047/DESC.proto
33
34 $(DEVCP1047FONTSFILES): $(devcp1047_srcdir)/R.proto
35         $(AM_V_GEN)$(MKDIR_P) `dirname $@` \
36         && $(RM) $@ \
37         && $(SHELL) $(GENFONTSSH) $(devcp1047_srcdir)/R.proto \
38              $(DEVCP1047RES) $(DEVCP1047CPI) `basename $@` > $@
39
40 font/devcp1047/DESC: $(devcp1047_srcdir)/DESC.proto
41         $(AM_V_GEN)$(MKDIR_P) `dirname $@` \
42         && $(SHELL) $(GENDESCSH) $(devcp1047_srcdir)/DESC.proto \
43              $(DEVCP1047RES) $(DEVCP1047CPI) $(DEVCP1047LPI) \
44              $(DEVCP1047FONTS) > $@
45
46
47 ########################################################################
48 # Editor settings
49 ########################################################################
50 #
51 # Local Variables:
52 # mode: makefile-automake
53 # fill-column: 72
54 # End:
55 # vim: set filetype=automake textwidth=72: