Commit 2c7508f7 authored by Max Kellermann's avatar Max Kellermann

Makefile.am: ship DocBook sources even when documentation is disabled

parent 86a9cd82
......@@ -723,6 +723,8 @@ endif
man_MANS = doc/mpd.1 doc/mpd.conf.5
doc_DATA = AUTHORS COPYING NEWS README UPGRADING doc/mpdconf.example
DOCBOOK_FILES = doc/protocol.xml doc/user.xml
if ENABLE_DOCUMENTATION
protocoldir = $(docdir)/protocol
protocol_DATA = $(wildcard doc/protocol/*.html)
......@@ -732,7 +734,6 @@ user_DATA = $(wildcard doc/user/*.html)
if HAVE_XMLTO
DOCBOOK_FILES = doc/protocol.xml doc/user.xml
DOCBOOK_HTML = $(patsubst %.xml,%/index.html,$(DOCBOOK_FILES))
$(DOCBOOK_HTML): %/index.html: %.xml
......@@ -740,7 +741,6 @@ $(DOCBOOK_HTML): %/index.html: %.xml
else
DOCBOOK_FILES =
DOCBOOK_HTML =
endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment