summaryrefslogtreecommitdiff
path: root/font/devascii/devascii.am
blob: 7f05abf8ffd85e5ac6a5972d2c03de4267d3cb18 (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
52
53
54
55
# Copyright (C) 2014-15
#   Free Software Foundation, Inc.
#
# Last update: 13 Aug 2015
#
# 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
	@echo Making $@
	$(MKDIR_P) `dirname $@`
	$(RM) $@
	$(SHELL) $(GENFONTSSH) $(devascii_srcdir)/R.proto \
	  $(DEVASCIIRES) $(DEVASCIICPI) `basename $@` > $@

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


########################################################################
### Emacs settings
# Local Variables:
# mode: makefile-automake
# End: