File: Makefile.am

package info (click to toggle)
gnugo 3.8-4
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 17,312 kB
  • ctags: 4,228
  • sloc: ansic: 56,439; perl: 3,771; lisp: 2,789; sh: 730; makefile: 700; python: 682; awk: 113; sed: 22
file content (64 lines) | stat: -rw-r--r-- 2,025 bytes parent folder | download | duplicates (6)
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
## Process this file with automake to create Makefile.in
AUTOMAKE_OPTIONS=no-dependencies

info_TEXINFOS = gnugo.texi

gnugo_TEXINFOS = analyze.texi api.texi board.texi copying.texi dfa.texi \
                 dragon.texi eyes.texi gnugo.texi gtp.texi gtp-commands.texi \
                 influence.texi introduction.texi move_generation.texi \
                 moyo.texi overview.texi owl.texi patterns.texi \
                 reading.texi regression.texi sgf.texi using.texi \
                 utils.texi install.texi montecarlo.texi

man_MANS = gnugo.6

EPS = cdfa.eps dfa.eps dfa2.eps oldlogo.eps newlogo.eps \
	path.eps sync-prod1.eps sync-prod2.eps logo-34.eps \
	logo-32.eps logo-36.eps

FIG = cdfa.fig dfa.fig dfa2.fig path.fig sync-prod1.fig sync-prod2.fig

PNG = cdfa.png dfa.png dfa2.png path.png sync-prod1.png sync-prod2.png

JPG = cdfa.jpg dfa.jpg dfa2.jpg oldlogo.jpg path.jpg sync-prod1.jpg \
      sync-prod2.jpg newlogo.jpg logo-32.jpg logo-34.jpg logo-36.jpg

PDF = cdfa.pdf dfa2.pdf dfa.pdf logo-34.pdf path.pdf sync-prod1.pdf \
      sync-prod2.pdf logo-36.pdf

EXTRA_DIST = automake-1.4.patch gnugo.6 gnugo.pod gtp-commands.sed \
	$(EPS) $(FIG) $(PNG) $(JPG) $(PDF)

CLEANFILES = *.log *.dvi *.aux *.vr *.tp *.ky *.pg *.cps *.fns *.toc \
             *.fn *.cp *~

TEXI2PDF = texi2pdf
TEXI2HTML = texi2html

gnugo.6: $(srcdir)/gnugo.pod
	pod2man $(srcdir)/gnugo.pod --section 6 --release @VERSION@ > gnugo.6

BUILT_SOURCES = gtp-commands.texi

cmdsrc = $(srcdir)/../interface/play_gtp.c

gnugo.pdf: gnugo.texi $(gnugo_TEXINFOS)
	$(TEXI2PDF) $<

gnugo.html: gnugo.texi $(gnugo_TEXINFOS)
	$(TEXI2HTML) -split=chapter -nosec_nav -expand=tex $<

## Rebuild gtp-commands.texi from play_gtp.c:

gtp-commands:
	sed -e '1r '$(srcdir)/gtp-commands.sed				\
	    -e '/static struct gtp_command commands/,/^}/!d'		\
	    -e '/^ /!d' -e '/NULL/d'					\
	    -e 's/ *{"\(.*\)"[^a-z]*\(gtp_[a-z_]*\)}.*/s,\2,\1,g/'	\
	    $(cmdsrc) > TMP.sed
	sed -f TMP.sed $(cmdsrc) > $(srcdir)/gtp-commands.texi
	rm -f TMP.sed