Imported Upstream version 1.22.3
[platform/upstream/groff.git] / font / devlj4 / Makefile.sub
1 # Makefile.sub for `font devlj4'
2 #
3 # File position: <groff-source>/font/devlj4/Makefile.sub
4 #
5 # Copyright (C) 2014
6 #   Free Software Foundation, Inc.
7 #   Written by Werner Lemberg <wl@gnu.org> and
8 #   Bernd Warken <groff-bernd.warken-72@web.de>.
9 #
10 # Last update: 2 Sep 2014
11 #
12 # This file is part of `groffer' which is part of `groff'.
13 #
14 # `groff' is free software; you can redistribute it and/or modify it
15 # under the terms of the GNU General Public License as published by
16 # the Free Software Foundation, either version 2 of the License, or
17 # (at your option) any later version.
18 #
19 # `groff' is distributed in the hope that it will be useful, but
20 # WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
22 # General Public License for more details.
23 #
24 # You should have received a copy of the GNU General Public License
25 # along with this program. If not, see
26 # <http://www.gnu.org/licenses/gpl-2.0.html>.
27 #
28 ########################################################################
29
30 DEV=lj4
31 LJ4RES=1200
32 LJ4PRINT=$(PSPRINT)
33 DEVFILES=DESC \
34   AB ABI AI AR \
35   ALBB ALBR \
36   AOB AOI AOR \
37   CB CBI CI CR \
38   GB GBI GI GR \
39   LGB LGI LGR \
40   OB OBI OI OR \
41   TB TBI TI TR \
42   TNRB TNRBI TNRI TNRR \
43   UB UBI UI UR \
44   UCB UCBI UCI UCR \
45   CLARENDON CORONET MARIGOLD S \
46   SYMBOL WINGDINGS \
47   generate/Makefile \
48   generate/special.map \
49   generate/symbol.map \
50   generate/text.map \
51   generate/wingdings.map \
52   generate/special.awk
53
54 MOSTLYCLEANADD=DESC
55
56 DESC: DESC.in
57         echo "res $(LJ4RES)" >DESC
58         echo "unitwidth `expr 7620000 / $(LJ4RES)`" >>DESC
59         cat $(srcdir)/DESC.in >>DESC
60         if test "$(PAGE)" = A4; then \
61           echo "papersize a4" >>DESC; \
62         else \
63           echo "papersize letter" >>DESC; \
64         fi
65         test -z '$(LJ4PRINT)' || echo print '$(LJ4PRINT)' >>DESC
66
67 fonts:
68         $(MAKE) -f $(srcdir)/generate/Makefile srcdir=$(srcdir)/generate \
69           HPFTODIT=$(top_builddir)/src/utils/hpftodit/hpftodit
70
71 ########################################################################
72 # Emacs settings
73 ########################################################################
74 #
75 # Local Variables:
76 # mode: makefile
77 # End: