8e1384d58f191eae94e50ccfc39f46ea91c19013
[platform/upstream/groff.git] / font / devdvi / Makefile.sub
1 # Makefile.sub for `font devdvi'
2 #
3 # File position: <groff-source>/font/devdvi/Makefile.sub
4 #
5 # Copyright (C) 2014
6 #   Free Software Foundation, Inc.
7 #
8 # Last update: 2 Sep 2014
9 #
10 # This file is part of `font utf8' which is part of `groff'.
11 #
12 # `groff' is free software; you can redistribute it and/or modify it
13 # under the terms of the GNU General Public License as published by
14 # the Free Software Foundation, either version 2 of the License, or
15 # (at your option) any later version.
16 #
17 # `groff' is distributed in the hope that it will be useful, but
18 # WITHOUT ANY WARRANTY; without even the implied warranty of
19 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
20 # General Public License for more details.
21 #
22 # You should have received a copy of the GNU General Public License
23 # along with this program. If not, see
24 # <http://www.gnu.org/licenses/gpl-2.0.html>.
25 #
26 ########################################################################
27
28 DEV=dvi
29 DEVFILES=DESC \
30   TR TI TB TBI CW CWI HR HI HB HBI \
31   TREC TIEC TBEC TBIEC CWEC CWIEC HREC HIEC HBEC HBIEC \
32   TRTC TITC TBTC TBITC CWTC CWITC HRTC HITC HBTC HBITC \
33   MI S EX SA SB SC \
34   generate/Makefile \
35   generate/msam.map generate/msbm.map \
36   generate/texb.map generate/texex.map generate/texi.map generate/texmi.map \
37   generate/texr.map generate/texsy.map generate/textt.map generate/textex.map \
38   generate/ec.map generate/tc.map
39 DEVSCRIPTS=generate/CompileFonts
40
41 MOSTLYCLEANADD=DESC
42
43 DESC: DESC.in
44         cat $(srcdir)/DESC.in >DESC
45         if test "$(PAGE)" = A4; then \
46           echo "papersize a4" >>DESC; \
47         else \
48           echo "papersize letter" >>DESC; \
49         fi
50         test -z '$(DVIPRINT)' || echo print '$(DVIPRINT)' >>DESC
51
52 ########################################################################
53 # Emacs settings
54 ########################################################################
55 #
56 # Local Variables:
57 # mode: makefile
58 # End: