OSDN Git Service

Digital Mars compile autotool files.
[timidity41/timidity41.git] / doc / Makefile.am
1 # TiMidity++ -- MIDI to WAVE converter and player
2 # Copyright (C) 1999-2004 Masanao Izumo <iz@onicos.co.jp>
3 # Copyright (C) 1995 Tuukka Toivonen <tt@cgs.fi>
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 2 of the License, or
8 # (at your option) 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, write to the Free Software
17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
19 include $(top_srcdir)/common.makefile.in
20 SUFFIXES = .1 .5 .txt .ps
21
22 SUBDIRS = C ja_JP.eucJP
23 lang_target = C
24
25 man_MANS = \
26         timidity.1 \
27         timidity.cfg.5
28
29 EXTRA_DIST =
30
31 .1.txt:
32         groff -man -Tlatin1 -P-b -P-u $< >$@
33 .1.ps:
34         groff -man $< >$@
35 .5.txt:
36         groff -man -Tlatin1 -P-b -P-u $< >$@
37 .5.ps:
38         groff -man $< >$@
39
40 timidity.1:
41         rm -f timidity.1; $(LN_S) $(srcdir)/$(lang_target)/timidity.1 .
42
43 timidity.cfg.5:
44         rm -f timidity.cfg.5; $(LN_S) $(srcdir)/$(lang_target)/timidity.cfg.5 .
45
46 remake-mans:
47         rm -f timidity.1; $(LN_S) $(srcdir)/$(lang_target)/timidity.1 .
48         rm -f timidity.cfg.5; $(LN_S) $(srcdir)/$(lang_target)/timidity.cfg.5 .
49
50 install.man:
51         $(MAKE) remake-mans lang_target=C; $(MAKE) install-man
52
53 install.manj:
54         $(MAKE) remake-mans lang_target=ja_JP.eucJP; $(MAKE) install-man
55
56 clean:
57         rm -f timidity.1
58         rm -f timidity.cfg.5