summaryrefslogtreecommitdiffstats
path: root/font/devX75/devX75.am
blob: b2f7b0bdf1cdf839f0a2230c8a3546e5d89347b5 (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/>.

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

if !WITHOUT_X11
devX75_fontdir = $(fontdir)/devX75
devX75_font_DATA = $(DEVX75FONTS)
endif

EXTRA_DIST += $(DEVX75FONTS)

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


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