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/>.
21 devlbp_srcdir = $(top_srcdir)/font/devlbp
41 devlbpfontdir = $(fontdir)/devlbp
42 devlbpfont_DATA = $(DEVLBPFONTFILES) font/devlbp/DESC
43 EXTRA_DIST += $(DEVLBPFONTFILES) font/devlbp/DESC.in
44 MOSTLYCLEANFILES += font/devlbp/DESC
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" >>$@; \
52 echo "papersize letter" >>$@; \
54 && (test -z '$(LBPPRINT)' \
55 || echo print '$(LBPPRINT)' >>$@)
58 ########################################################################
60 ########################################################################
63 # mode: makefile-automake
66 # vim: set filetype=automake textwidth=72: