summaryrefslogtreecommitdiffstats
path: root/font/devX100-12/devX100-12.am
blob: a1a509ccc64920c7cb19e3b2fd34613f05d45001 (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
56
57
58
59
60
61
62
63
64
65
# Copyright (C) 2014-2022 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/>.

DEVX10012FONTS = \
  font/devX100-12/DESC \
  font/devX100-12/TR \
  font/devX100-12/TI \
  font/devX100-12/TB \
  font/devX100-12/TBI \
  font/devX100-12/CR \
  font/devX100-12/CI \
  font/devX100-12/CB \
  font/devX100-12/CBI \
  font/devX100-12/HR \
  font/devX100-12/HI \
  font/devX100-12/HB \
  font/devX100-12/HBI \
  font/devX100-12/NR \
  font/devX100-12/NI \
  font/devX100-12/NB \
  font/devX100-12/NBI \
  font/devX100-12/S

if !WITHOUT_X11
devX100_12_fontdir = $(fontdir)/devX100-12
devX100_12_font_DATA = $(DEVX10012FONTS)
endif

EXTRA_DIST += $(DEVX10012FONTS)

# This target generates font descriptions from core X11 font data
# returned by a running X server; these are _not_ normally generated
# during a build, but provided with the groff source distribution.
#
# This maintainer-mode target alters files in the source tree.
maintainer-font-descriptions: devX100-12_font-descriptions
devX100_12_fontsrcdir = $(top_srcdir)/font/devX100-12
devX100-12_font-descriptions: $(xtotroff) $(xditview_srcdir)/DESC.in \
  $(xditview_srcdir)/FontMap-X11
	  $(AM_V_GEN)$(MKDIR_P) $(devX100_12_fontsrcdir) \
	  && sed -e 's/res .*/res 100/;s/unitwidth .*/unitwidth 12/' \
	    $(xditview_srcdir)/DESC.in >$(devX100_12_fontsrcdir)/DESC \
	  && $(xtotroff) -d $(devX100_12_fontsrcdir) -r 100 -s 12 \
	    $(xditview_srcdir)/FontMap-X11


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