Imported Upstream version 1.22.4
[platform/upstream/groff.git] / font / devlbp / devlbp.am
1 # Copyright (C) 2014-2018 Free Software Foundation, Inc.
2 #
3 # Last update: 13 Aug 2015
4 #
5 # This file is part of 'groff'.
6 #
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.
11 #
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.
16 #
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/>.
19
20 LBPPRINT=$(PSPRINT)
21 devlbp_srcdir = $(top_srcdir)/font/devlbp
22 DEVLBPFONTFILES = \
23   font/devlbp/HB \
24   font/devlbp/HBI \
25   font/devlbp/HI \
26   font/devlbp/HR \
27   font/devlbp/HNB \
28   font/devlbp/HNBI \
29   font/devlbp/HNI \
30   font/devlbp/HNR \
31   font/devlbp/TB \
32   font/devlbp/TBI \
33   font/devlbp/TI \
34   font/devlbp/TR \
35   font/devlbp/CR \
36   font/devlbp/CB \
37   font/devlbp/CI \
38   font/devlbp/ER \
39   font/devlbp/EB \
40   font/devlbp/EI
41 devlbpfontdir = $(fontdir)/devlbp
42 devlbpfont_DATA = $(DEVLBPFONTFILES) font/devlbp/DESC
43 EXTRA_DIST += $(DEVLBPFONTFILES) font/devlbp/DESC.in
44 MOSTLYCLEANFILES += font/devlbp/DESC
45
46 font/devlbp/DESC: $(devlbp_srcdir)/DESC.in
47         $(AM_V_GEN)$(MKDIR_P) `dirname $@` \
48         && cat $(devlbp_srcdir)/DESC.in >$@ \
49         && if test "$(PAGE)" = A4; then \
50              echo "papersize a4" >>$@; \
51            else \
52              echo "papersize letter" >>$@; \
53            fi \
54         && (test -z '$(LBPPRINT)' \
55             || echo print '$(LBPPRINT)' >>$@)
56
57
58 ########################################################################
59 # Editor settings
60 ########################################################################
61 #
62 # Local Variables:
63 # mode: makefile-automake
64 # fill-column: 72
65 # End:
66 # vim: set filetype=automake textwidth=72: