2 # Documentation Makefile for GNU Shogi
4 # Copyright (c) 2013 Yann Dirson and the Free Software Foundation
6 # This file is part of GNU Shogi.
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)
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.
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.
23 info_TEXINFOS = gnushogi.texi
24 AM_MAKEINFOHTMLFLAGS = --split=section
26 dist_man_MANS = gnushogi.6
38 tr '[A-Z]' '[a-z]' < $(srcdir)/gnushogi.texi | tr -cd '[A-Za-z0-9_ \012]' | \
39 tr -s '[ ]' '\012' | sort | uniq -c | sort -nr | spell | sort | uniq