| 1 |
# Makefile for Recode documentation. |
| 2 |
# Copyright © 1994-2019 Free Software Foundation, Inc. |
| 3 |
# François Pinard <[email protected]> |
| 4 |
|
| 5 |
# This program is free software; you can redistribute it and/or modify |
| 6 |
# it under the terms of the GNU General Public License as published by |
| 7 |
# the Free Software Foundation; either version 3, or (at your option) |
| 8 |
# any later version. |
| 9 |
|
| 10 |
# This program is distributed in the hope that it will be useful, |
| 11 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 |
# GNU General Public License for more details. |
| 14 |
|
| 15 |
# You should have received a copy of the GNU General Public License |
| 16 |
# along with this program; if not, see <https://www.gnu.org/licenses/>. |
| 17 |
|
| 18 |
AUTOMAKE_OPTIONS = gnits |
| 19 |
info_TEXINFOS = recode.texi |
| 20 |
recode_TEXINFOS = rfc1345.texi |
| 21 |
|
| 22 |
EXTRA_DIST = File-Latin1 |
| 23 |
MOSTLYCLEANFILES = recode.ops |
| 24 |
|
| 25 |
# Relative to $(srcdir). |
| 26 |
KELD = ../keld |
| 27 |
CHARSETS_DEF = $(KELD)/charsets.def |
| 28 |
MNEMONICS_DS = $(KELD)/iso10646.def $(KELD)/other.def $(KELD)/control.def |
| 29 |
|
| 30 |
TABLES_PY = $(PYTHON) $(top_srcdir)/tables.py |
| 31 |
|
| 32 |
# Disable dvi target, to avoid needing TeX for make distcheck |
| 33 |
# (and in any case, no-one wants DVI) |
| 34 |
dvi: |
| 35 |
|
| 36 |
# There is duplication of work with making src/strip-{pool,data}.c. |
| 37 |
# This used to be combined, but it seems clearer to keep both separate. |
| 38 |
rfc1345.texi: ../tables.py $(MNEMONICS_DS) $(CHARSETS_DEF) |
| 39 |
$(TABLES_PY) -C $(srcdir) -t $(MNEMONICS_DS) $(CHARSETS_DEF) |
| 40 |
|
| 41 |
fr-rfc1345.texi: ../tables.py $(MNEMONICS_DS) $(CHARSETS_DEF) |
| 42 |
$(TABLES_PY) -C $(srcdir) -Ft $(MNEMONICS_DS) $(CHARSETS_DEF) |