summaryrefslogtreecommitdiffstats
path: root/font/devX100/devX100.am
blob: 77b35d321d3aec48ecdd264f1a720e7679e72f43 (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/>.

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

if !WITHOUT_X11
devX100_fontdir = $(fontdir)/devX100
devX100_font_DATA = $(DEVX100FONTS)
endif

EXTRA_DIST += $(DEVX100FONTS)

# 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_font-descriptions
devX100_fontsrcdir=$(top_srcdir)/font/devX100
devX100_font-descriptions: $(xtotroff) $(xditview_srcdir)/DESC.in \
  $(xditview_srcdir)/FontMap-X11
	  $(AM_V_GEN)$(MKDIR_P) $(devX100_fontsrcdir) \
	  && sed -e 's/res .*/res 100/' $(xditview_srcdir)/DESC.in \
	    >$(devX100_fontsrcdir)/DESC \
	  && $(xtotroff) -d $(devX100_fontsrcdir) -r 100 -s 10 \
	    $(xditview_srcdir)/FontMap-X11


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