From 4fad2de1134450cd6cfb88554aa8f3604aa25541 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 31 Dec 2018 21:51:05 -0500 Subject: [PATCH] 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 --- doc/reference/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/reference/Makefile.am b/doc/reference/Makefile.am index 2d25857d..495902dd 100644 --- a/doc/reference/Makefile.am +++ b/doc/reference/Makefile.am @@ -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 $< +