aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/FAQ.md
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-09-14 18:52:42 -0400
committerEli Schwartz <eschwartz@archlinux.org>2022-09-14 18:53:53 -0400
commitd924586bee49552363fdcffa75fd8b9d724c8da1 (patch)
tree13b3730e0e0d2cf81394daefc06b6fd3273291ab /docs/markdown/FAQ.md
parent83d18d137dc50437a8263983e8883198c7bc41ed (diff)
downloadmeson-d924586bee49552363fdcffa75fd8b9d724c8da1.zip
meson-d924586bee49552363fdcffa75fd8b9d724c8da1.tar.gz
meson-d924586bee49552363fdcffa75fd8b9d724c8da1.tar.bz2
docs: note the automatic creation of gitignore in build directories
Diffstat (limited to 'docs/markdown/FAQ.md')
-rw-r--r--docs/markdown/FAQ.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/markdown/FAQ.md b/docs/markdown/FAQ.md
index 1894f27..d3e3d0a 100644
--- a/docs/markdown/FAQ.md
+++ b/docs/markdown/FAQ.md
@@ -683,3 +683,12 @@ executable(
link_language : 'c',
)
```
+
+## How do I ignore the build directory in my VCS?
+
+You don't need to, assuming you use git or mercurial! Meson >=0.57.0 will
+create a `.gitignore` and `.hgignore` file for you, inside each build
+directory. It glob ignores ```"*"```, since all generated files should not be
+checked into git.
+
+Users of older versions of Meson may need to set up ignore files themselves.