[cac65c]: msgs / Makefile.in Maximize Restore History

Download this file

Makefile.in    95 lines (82 with data), 3.1 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# Makefile for man -- message catalogue subdirectory.
# Source: Makefile.in -- processed by configure, to create Makefile.
#
# Copyright (C) 2006, 2007, 2008, Keith Marshall
#
# Written by Keith Marshall <keithmarshall@users.sourceforge.net>
# (Based on, and replacing, an unaccredited original implementation, believed
# to be the work of John W. Eaton and/or Andries E. Brouwer).
#
# This file is part of the man package.
#
# man is free software; you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by the Free Software
# Foundation; either version 2, or (at your option) any later version.
#
# man is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along
# with man; see the file COPYING. If not, write to the Free Software
# Foundation, 51 Franklin St - Fifth Floor, Boston, MA 02110-1301, USA.
srcdir = @srcdir@
top_builddir = `cd @top_builddir@;pwd`
VPATH = ${srcdir}
# We don't explicitly refer to these, but a user's configuration may specify
# `localedir' in terms of either one of them; these definitions are included
# to facilitate such usage.
#
prefix = @prefix@
exec_prefix = @exec_prefix@
MKMSGS = ${top_builddir}/tools/makemsg
GENCAT = @man_gencat_program@
all:
files=""; \
for file in `cd ${srcdir}; echo mess.*`; do \
case $$file in *.codeset);; *) files="$$files $$file.cat";; esac; \
done; \
$(MAKE) $$files
mess.%.cat: mess.%
$(MKMSGS) -c $< msgs.tmp
test -f $<.codeset && cat $<.codeset msgs.tmp > catin.tmp \
|| echo '$$ codeset=UTF-8' | cat - msgs.tmp > catin.tmp
LC_ALL=en_US.UTF-8 $(GENCAT) $@ catin.tmp
rm -f core *.stackdump *.tmp
nl_catdir = ${localedir}/@nl_catdir@
nl_catfile = ${nl_catdir}/@nl_catfile@
localedir = ${DESTDIR}@localedir@
languages = @languages@
MKINSTALLDIRS = `cd @top_srcdir@;pwd`/mkinstalldirs
INSTALL = @INSTALL@
install:
languages="" prereqs=""; \
for L in $(languages); \
do if test -f ${srcdir}/mess.$$L; \
then \
languages="$$languages $$L" prereqs="$$prereqs mess.$$L.cat"; \
else \
echo >&2 "install: $$L: no message catalogue available"; \
fi; \
done; \
$(MAKE) languages="$$languages" prereqs="$$prereqs" install-recursive
install-recursive: $(prereqs)
test -z "${DESTDIR}" || $(MKINSTALLDIRS) ${localedir}
N=man; \
for L in $(languages); \
do if test -f mess.$$L.cat; \
then \
$(MKINSTALLDIRS) --require ${localedir} ${nl_catdir}; \
echo >&2 "$(INSTALL) -m 444 mess.$$L.cat ${nl_catfile}"; \
$(INSTALL) -m 444 mess.$$L.cat ${nl_catfile}; \
else \
echo >&2 "$(INSTALL) -m 444 mess.$$L.cat ${nl_catfile}"; \
echo >&2 "install: mess.$$L.cat: no message catalogue available"; \
fi; \
done
clean:
rm -f *.cat *~ *.tmp *.stackdump core
distclean realclean spotless: clean
rm -f Makefile *.orig *.rej
# $RCSfile$: end of file