From d05e7ba2e2c07d010b44855f114ee19ce7a72103 Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Wed, 7 Apr 2021 13:37:53 -0600 Subject: [PATCH] Ensure consistent apidoc .gitignore 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 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apidoc/Makefile.am b/apidoc/Makefile.am index 98a84d5f..774cee60 100644 --- a/apidoc/Makefile.am +++ b/apidoc/Makefile.am @@ -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