Ensure consistent apidoc .gitignore
authorDan Nicholson <dbn@endlessos.org>
Wed, 7 Apr 2021 19:37:53 +0000 (13:37 -0600)
committerDan Nicholson <dbn@endlessos.org>
Wed, 7 Apr 2021 19:37:53 +0000 (13:37 -0600)
If you don't configure with --enable-gtk-doc, these won't be included in
the generated .gitignore. If you later configure with --enable-gtk-doc
in the same checkout, they'll show up as untracked files. Include them
in GITIGNOREFILES to ensure they're always added regardless of configure
options.

apidoc/Makefile.am

index 98a84d5f0d2b2363d77f16dd9096c6fb251a51c5..774cee60e0734f5fee0a730015ec11b5374244fc 100644 (file)
@@ -125,4 +125,11 @@ EXTRA_DIST += \
        ostree-experimental-sections.txt \
        $(NULL)
 
+# These only get included in the generated .gitignore when building with
+# --enable-gtk-doc, so ensure they're always added.
+GITIGNOREFILES = \
+       ostree-overrides.txt \
+       version.xml \
+       $(NULL)
+
 -include $(top_srcdir)/git.mk