summaryrefslogtreecommitdiffstats
path: root/font/devascii/devascii.am
blob: 02bc802eb904e8ea7fce6b91d9e0f4c15651e3f7 (plain)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Copyright (C) 2014-2020 Free Software Foundation, Inc.
#
# This file is part of 'groff'.
#
# 'groff' is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# 'groff' is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

devascii_srcdir = $(top_srcdir)/font/devascii
DEVASCIIFONTS = R I B BI
DEVASCIIFONTSFILES = \
  font/devascii/R font/devascii/I font/devascii/B font/devascii/BI

DEVASCIIRES = 240
DEVASCIICPI = 10
DEVASCIILPI = 6

devasciifontdir = $(fontdir)/devascii
devasciifont_DATA = $(DEVASCIIFONTSFILES) font/devascii/DESC
MOSTLYCLEANFILES += $(DEVASCIIFONTSFILES) font/devascii/DESC
EXTRA_DIST += \
  font/devascii/R.proto \
  font/devascii/DESC.proto

$(DEVASCIIFONTSFILES): $(devascii_srcdir)/R.proto
	$(AM_V_GEN)$(MKDIR_P) `dirname $@` \
	&& $(RM) $@ \
	&& $(SHELL) $(GENFONTSSH) $(devascii_srcdir)/R.proto \
	     $(DEVASCIIRES) $(DEVASCIICPI) `basename $@` > $@

font/devascii/DESC: $(devascii_srcdir)/DESC.proto
	$(AM_V_GEN)$(MKDIR_P) `dirname $@` \
	&& $(SHELL) $(GENDESCSH) $(devascii_srcdir)/DESC.proto \
	     $(DEVASCIIRES) $(DEVASCIICPI) $(DEVASCIILPI) \
	     $(DEVASCIIFONTS) > $@


# Local Variables:
# mode: makefile-automake
# fill-column: 72
# End:
# vim: set autoindent filetype=automake textwidth=72: