fa7a2f0ccc
Added $(DOCBOOK_FILES) to $(EXTRA_DIST). Don't include the generated protocol.html in the tarball.
16 lines
344 B
Makefile
16 lines
344 B
Makefile
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) $(DOCBOOK_FILES) mpdconf.example
|
|
|
|
MOSTLYCLEANFILES = $(DOCBOOK_HTML)
|
|
|
|
if HAVE_XMLTO
|
|
doc_DATA += $(DOCBOOK_HTML)
|
|
|
|
$(DOCBOOK_HTML): %.html: %.xml
|
|
$(XMLTO) html-nochunks $<
|
|
endif
|