1 # Copyright (C) 2014-2018 Free Software Foundation, Inc.
3 # Last update: 13 Aug 2015
5 # This file is part of 'groff'.
7 # 'groff' is free software; you can redistribute it and/or modify it
8 # under the terms of the GNU General Public License as published by
9 # the Free Software Foundation, either version 3 of the License, or
10 # (at your option) any later version.
12 # 'groff' is distributed in the hope that it will be useful, but
13 # WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 # General Public License for more details.
17 # You should have received a copy of the GNU General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
20 devlj4_srcdir = $(top_srcdir)/font/devlj4
64 font/devlj4/CLARENDON \
66 font/devlj4/MARIGOLD \
71 devlj4fontdir = $(fontdir)/devlj4
72 dist_devlj4font_DATA = $(DEVLJ4FONTFILES)
73 nodist_devlj4font_DATA = font/devlj4/DESC
76 font/devlj4/generate/Makefile \
77 font/devlj4/generate/special.map \
78 font/devlj4/generate/symbol.map \
79 font/devlj4/generate/text.map \
80 font/devlj4/generate/wingdings.map \
81 font/devlj4/generate/special.awk
82 devlj4fontgendir = $(devlj4fontdir)/generate
83 dist_devlj4fontgen_DATA = $(DEVLJ4GENFILES)
85 EXTRA_DIST += font/devlj4/DESC.in
87 MOSTLYCLEANFILES += font/devlj4/DESC
89 font/devlj4/DESC: $(devlj4_srcdir)/DESC.in
90 $(AM_V_GEN)$(MKDIR_P) `dirname $@` \
91 && echo "res $(LJ4RES)" >$@ \
92 && echo "unitwidth `expr 7620000 / $(LJ4RES)`" >>$@ \
93 && cat $(devlj4_srcdir)/DESC.in >>$@ \
94 && if test "$(PAGE)" = A4; then \
95 echo "papersize a4" >>$@; \
97 echo "papersize letter" >>$@; \
99 && (test -z '$(LJ4PRINT)' \
100 || echo print '$(LJ4PRINT)' >>$@)
103 devlj4_fonts: hpftodit font/devlj4/DESC
104 $(MAKE) -f $(devlj4_srcdir)/generate/Makefile \
105 srcdir=$(devlj4_srcdir)/generate \
106 HPFTODIT=$(top_builddir)/hpftodit
109 ########################################################################
111 ########################################################################
114 # mode: makefile-automake
117 # vim: set filetype=automake textwidth=72: