Generate a single-file api reference

Add a rule to generate a single-file html version of the
libflatpak api reference, for integration into readthedocs.

This is pretty plain, but serves the purpose.

Closes: #2526
Approved by: matthiasclasen
This commit is contained in:
Matthias Clasen
2018-12-31 21:51:05 -05:00
committed by Atomic Bot
parent efcf48f295
commit 4fad2de113

View File

@@ -56,3 +56,7 @@ TESTS_ENVIRONMENT = \
SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir)
TESTS = $(GTKDOC_CHECK)
endif
libflatpak-docs.html: libflatpak-docs.xml docs
$(AM_V_GEN) $(XMLTO) $(XMLTO_FLAGS) --skip-validation xhtml-nochunks -m $(srcdir)/../xmlto-config.xsl $<