2008-11-20 08:59:55 +01:00
|
|
|
DOCBOOK_FILES = protocol.xml
|
2009-01-25 18:24:42 +01:00
|
|
|
DOCBOOK_HTML = $(patsubst %.xml,%/index.html,$(DOCBOOK_FILES))
|
2008-11-20 08:59:55 +01:00
|
|
|
|
2008-10-25 21:32:10 +02:00
|
|
|
man_MANS = mpd.1 mpd.conf.5
|
2008-11-20 08:59:55 +01:00
|
|
|
doc_DATA = mpdconf.example
|
2008-11-23 18:48:08 +01:00
|
|
|
EXTRA_DIST = $(man_MANS) $(DOCBOOK_FILES) mpdconf.example
|
2008-11-20 08:59:55 +01:00
|
|
|
|
2009-02-04 15:25:57 +01:00
|
|
|
if ENABLE_DOCUMENTATION
|
2009-01-25 18:24:42 +01:00
|
|
|
protocoldir = $(docdir)/protocol
|
|
|
|
protocol_DATA = $(wildcard protocol/*.html)
|
|
|
|
|
|
|
|
$(DOCBOOK_HTML): %/index.html: %.xml
|
|
|
|
$(XMLTO) -o protocol --stringparam chunker.output.encoding=utf-8 html $<
|
|
|
|
|
2009-02-13 09:11:22 +01:00
|
|
|
api/html/index.html: doxygen.conf
|
|
|
|
$(DOXYGEN) $<
|
|
|
|
|
|
|
|
all-local: $(DOCBOOK_HTML) api/html/index.html
|
2008-11-20 08:59:55 +01:00
|
|
|
|
2009-01-25 18:24:42 +01:00
|
|
|
clean-local:
|
|
|
|
rm -rf $(patsubst %.xml,%,$(DOCBOOK_FILES))
|
2009-02-13 09:11:22 +01:00
|
|
|
rm -rf api
|
|
|
|
|
|
|
|
install-data-local: api/html/index.html
|
|
|
|
$(mkinstalldirs) $(docdir)/api/html
|
|
|
|
$(INSTALL_DATA) -c -m 644 api/html/*.html api/html/*.css api/html/*.png api/html/*.gif $(docdir)/api/html
|
|
|
|
|
2008-11-20 08:59:55 +01:00
|
|
|
endif
|