shithub: aubio

ref: e997b1af642cbc14d067302f897f90d740571bf2
dir: /doc/Makefile.am/

View raw version
#  install the man pages and include in distribution
#man_MANS = fluidsynth.1 
#EXTRA_DIST = $(man_MANS) devel.cfg fluidsynth.1 
EXTRA_DIST = devel.cfg examples.cfg user.cfg aubio.css \
	aubionotes.sgml aubioonset.sgml

man_MANS = aubionotes.1 aubioonset.1
#docbook_docs = aubio-devdoc.xml
#DOCBOOK_STYLESHEET ?= http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl

all: 

# Run "make update-docs" to update developer doc and doxygen reference
#update-docs: xmldocbook doxygen
update-docs: doc-devel

# The new XML DocBook way:
#xmldocbook: $(docbook_docs)
#	-rm -rf html
#	$(mkinstalldirs) html
#	xsltproc -o html/ --catalogs $(DOCBOOK_STYLESHEET) $<

doc-clean:
	-rm -rf devel

maintainer-clean-local: doc-clean

doc-devel: 
	doxygen devel.cfg
	cp aubio.css devel

doc-user: 
	doxygen user.cfg
	cp aubio.css user

doc-examples: 
	doxygen examples.cfg
	cp aubio.css examples
	
%.sgml: 

%.1:	%.sgml
	docbook-to-man $< > $*.1

# Update docs for distribution
#dist-hook: 

clean:
	rm -rf devel user examples *.1

distclean-hook: clean