spice-common/docs/Makefile.am
Marc-André Lureau 1fd73d0a98 build-sys: don't dist spice-protocol.html
The HTML file is not built by default.
This fixes make distcheck in spice-gtk.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Christophe Fergeau <cfergeau@redhat.com>
2017-03-28 14:57:50 +02:00

18 lines
313 B
Makefile

NULL =
ASCIIDOC_FLAGS = -a icons -a toc
EXTRA_DIST = \
spice_protocol.txt \
$(NULL)
if BUILD_HTML_MANUAL
all-local: spice_protocol.html
spice_protocol.html: spice_protocol.txt
$(AM_V_GEN) $(ASCIIDOC) -n $(ASCIIDOC_FLAGS) -o $@ $<
endif
CLEANFILES = spice_protocol.html
-include $(top_srcdir)/git.mk