shithub: aubio

ref: a4b089c6106093aadfc27d0e8a68761305e83838
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
CLEANFILES = $(man_MANS)
#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

doc-user: 
	doxygen user.cfg

doc-examples: 
	doxygen examples.cfg
	
%.sgml: 

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

# Update docs for distribution
#dist-hook: 

clean:
	rm -rf devel user examples *.1

distclean-hook: clean