File: Makefile.am

package info (click to toggle)
pocketsphinx 0.8%2B5prealpha%2B1-13
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 44,080 kB
  • sloc: ansic: 22,154; sh: 11,483; python: 657; makefile: 381; perl: 301
file content (52 lines) | stat: -rw-r--r-- 1,264 bytes parent folder | download | duplicates (4)
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
man_MANS = \
	pocketsphinx_batch.1 \
	pocketsphinx_continuous.1 \
	pocketsphinx_mdef_convert.1

EXTRA_DIST = \
	args2man.pl \
	doxy2swig.py \
	pocketsphinx_batch.1.in \
	pocketsphinx_continuous.1.in \
	pocketsphinx_batch.1 \
	pocketsphinx_continuous.1 \
	pocketsphinx_mdef_convert.1

# pocketsphinx_batch.1: pocketsphinx_batch.1.in
# 	$(srcdir)/args2man.pl $(top_builddir)/src/programs/pocketsphinx_batch \
# 		< $< > $@

# pocketsphinx_continuous.1: pocketsphinx_continuous.1.in
# 	$(srcdir)/args2man.pl $(top_builddir)/src/programs/pocketsphinx_continuous \
# 		< $< > $@

if BUILD_SWIG
SWIG_DOC = pydoc.i

pydoc.i: html/index.html
	$(PYTHON) $(srcdir)/doxy2swig.py -n xml/index.xml pydoc.i
endif

if BUILD_DOXYGEN
all-local: html/index.html $(SWIG_DOC)
endif

headers = \
	$(top_srcdir)/include/pocketsphinx.h \
	$(top_srcdir)/include/ps_lattice.h \
	$(top_srcdir)/include/ps_mllr.h \
	$(top_srcdir)/include/ps_search.h

latex/refman.pdf: doxyfile $(headers)
	doxygen
	$(MAKE) -C latex refman.pdf

html/index.html: doxyfile $(headers)
	doxygen

clean-local:
	-rm -rf html xml latex doxytags $(SWIG_DOC)

# Totally CMU-specific rule for uploading documentation
upload: html/index.html
	rsync -av html/ file:/usr12/apache2/htdocs/sphinx/doc/doxygen/pocketsphinx/