git/gitignore: Only ignore `build' etc. if they're toplevel directories.
[profile] / git / gitignore
index 5fdbf64..7df077e 100644 (file)
@@ -23,6 +23,6 @@ GTAGS
 .gdb_history
 
 ## Build and release directories.
-build
-build.*
-dist-*
+/build/
+/build.*/
+/dist-*/