aboutsummaryrefslogtreecommitdiffstats
path: root/doc/Makefile.am
blob: 3234ccb5fcac45fe745b6eaff6aed42999a584c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
DOCBOOK_FILES = protocol.xml
DOCBOOK_HTML = $(patsubst %.xml,%.html,$(DOCBOOK_FILES))

man_MANS = mpd.1 mpd.conf.5
doc_DATA = mpdconf.example
EXTRA_DIST = $(man_MANS) $(doc_DATA)

MOSTLYCLEANFILES = $(DOCBOOK_HTML)

if HAVE_XMLTO
doc_DATA += $(DOCBOOK_HTML)

$(DOCBOOK_HTML): %.html: %.xml
	$(XMLTO) html-nochunks $<
endif