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 devhtml_srcdir = $(top_srcdir)/font/devhtml
21 DEVHTMLFONTS = R I B BI CR CI CB CBI S
37 devhtmlfontdir = $(fontdir)/devhtml
38 devhtmlfont_DATA = $(DEVHTMLFONTSFILES) font/devhtml/DESC
39 MOSTLYCLEANFILES += $(DEVHTMLFONTSFILES) font/devhtml/DESC
41 font/devhtml/R.proto \
42 font/devhtml/DESC.proto \
45 $(DEVHTMLFONTSFILES): $(devhtml_srcdir)/R.proto
46 $(AM_V_GEN)$(MKDIR_P) `dirname $@` \
48 && $(SHELL) $(GENFONTSSH) $(devhtml_srcdir)/R.proto \
49 $(DEVHTMLRES) $(DEVHTMLCPI) `basename $@` > $@
51 font/devhtml/DESC: $(devhtml_srcdir)/DESC.proto
52 $(AM_V_GEN)$(MKDIR_P) `dirname $@` \
53 && $(SHELL) $(GENDESCSH) $(devhtml_srcdir)/DESC.proto \
54 $(DEVHTMLRES) $(DEVHTMLCPI) $(DEVHTMLLPI) $(DEVHTMLFONTS) > $@ \
55 && echo "image_generator $(GHOSTSCRIPT)" >> $@
58 ########################################################################
60 ########################################################################
63 # mode: makefile-automake
66 # vim: set filetype=automake textwidth=72: