Commit d8255e40 authored by Simon McVittie's avatar Simon McVittie
Browse files

debian: Delete files that were generated by gtk-doc during dist



If we `make dist` with gtk-doc-tools 1.28 from Debian 10 'buster' (the
current stable release), it generates a libcapsule-docs.xml in which
generation of tree_index.sgml is mandatory. This is incompatible with
building this non-GObject library with gtk-doc-tools >= 1.30, in which
tree_index.sgml is only generated if the library contains at least one
GObject type.

Most projects treat the libcapsule-docs.xml generated by gtk-doc as
a template and commit it to git, but in this project we don't
particularly want to maintain it and would prefer to keep regenerating
it during build.
Signed-off-by: Simon McVittie's avatarSimon McVittie <smcv@collabora.com>
parent 0d937363
Pipeline #16143 failed with stage
in 5 minutes and 26 seconds
gtk-doc.make
libcapsule-docs.xml
libcapsule-overrides.txt
libcapsule-sections.txt
......@@ -28,6 +28,10 @@ else
confflags += --without-glib
endif
override_dh_clean:
rm -fr html
dh_clean
override_dh_auto_configure:
dh_auto_configure -- $(confflags)
......
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