Fix dependencies on built executables to include $(EXEEXT) for win32 support.
[gnushogi.git] / doc / Makefile.am
1 #
2 # Documentation Makefile for GNU Shogi
3 #
4 # Copyright (c) 2013 Yann Dirson and the Free Software Foundation
5 #
6 # This file is part of GNU Shogi.
7 #
8 # GNU Shogi is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 1, or (at your option)
11 # any later version.
12 #
13 # GNU Shogi is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 # GNU General Public License for more details.
17 #
18 # You should have received a copy of the GNU General Public License
19 # along with GNU Shogi; see the file COPYING.  If not, write to
20 # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
21 #
22
23 info_TEXINFOS = gnushogi.texi
24 AM_MAKEINFOHTMLFLAGS = --split=section
25
26 dist_man_MANS = gnushogi.6 @XSHOGIMAN@
27 EXTRA_MANS = xshogi.6
28
29 dist_doc_DATA = \
30         BOOKFILES \
31         PORTING \
32         shogi.rules \
33         tutorial1.gam \
34         tutorial2.gam
35
36 spell:
37         tr '[A-Z]' '[a-z]' < $(srcdir)/gnushogi.texi | tr -cd '[A-Za-z0-9_ \012]' | \
38         tr -s '[ ]' '\012' | sort | uniq -c | sort -nr | spell | sort | uniq