eaac4ccf51b8027868a5584669d1e4340bc39220
[aubio.git] / doc / Makefile.am
1 #  install the man pages and include in distribution
2 #man_MANS = fluidsynth.1 
3 #EXTRA_DIST = $(man_MANS) devel.cfg fluidsynth.1 
4 EXTRA_DIST = devel.cfg examples.cfg user.cfg aubio.css \
5         aubionotes.sgml aubioonset.sgml
6
7 #docbook_docs = aubio-devdoc.xml
8 #DOCBOOK_STYLESHEET ?= http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
9
10 all: 
11
12 # Run "make update-docs" to update developer doc and doxygen reference
13 #update-docs: xmldocbook doxygen
14 update-docs: doc-devel
15
16 # The new XML DocBook way:
17 #xmldocbook: $(docbook_docs)
18 #       -rm -rf html
19 #       $(mkinstalldirs) html
20 #       xsltproc -o html/ --catalogs $(DOCBOOK_STYLESHEET) $<
21
22 doc-clean:
23         -rm -rf devel
24
25 maintainer-clean-local: doc-clean
26
27 doc-devel: 
28         doxygen devel.cfg
29         cp aubio.css devel
30
31 doc-user: 
32         doxygen user.cfg
33         cp aubio.css user
34
35 doc-examples: 
36         doxygen examples.cfg
37         cp aubio.css examples
38         
39 man:
40         docbook-to-man aubionotes.sgml > aubionotes.1
41         docbook-to-man aubioonset.sgml > aubioonset.1
42
43 # Update docs for distribution
44 #dist-hook: 
45
46 clean:
47         rm -rf devel user examples *.1
48
49 distclean-hook: clean