Skip to contentSkip to conversation

gitignore: Create .gitignore file for docs/

RFC PATCH In review Elliott Mitchell 1 participant 1 message Sep 9, 2020

lore
Share & tools
lore
#0 lore raw

RFC PATCH 7/11 gitignore: Create .gitignore file for docs/

Going through and breaking targetted matches off of the top-level .gitignore file. This is the patch to create docs/.gitignore.

Merge docs/man[1-9]/ together while I'm at it.

Slashes were left at the start of all filenames. Entries without slashes match files in subdirectories, entries with a slash anywhere are a specific path. I feel it is more consistent to have leading slashes on all full paths.

---
 .gitignore      | 12 ------------
 docs/.gitignore |  8 ++++++++
 2 files changed, 8 insertions(+), 12 deletions(-)
 create mode 100644 docs/.gitignore
.gitignore +0 -12
index 4f95d7b016..18339f3bab 100644
@@ -49,16 +49,6 @@ config/Paths.mk
 
 build-*
 dist/*
-docs/tmp.*
-docs/html/
-docs/man/xl.cfg.5.pod
-docs/man/xl.1.pod
-docs/man1/
-docs/man5/
-docs/man7/
-docs/man8/
-docs/pdf/
-docs/txt/
 extras/mini-os*
 install/*
 stubdom/*-minios-config.mk
@@ -251,5 +241,3 @@ tools/python/xen/lowlevel/xl/_pyxl_types.h
 tools/xenstore/xenstore-watch
 tools/xl/_paths.h
 tools/xl/xl
-
-docs/figs/*.png
docs/.gitignore new file +8 -0
new file mode 100644
index 0000000000..532c9d06a0
@@ -0,0 +1,8 @@
+/figs/*.png
+/html/
+/man/xl.1.pod
+/man/xl.cfg.5.pod
+/man[1-9]/
+/pdf/
+/tmp.*
+/txt/
Signature · 5 lines
-- 
(\___(\___(\______          --=> 8-) EHM <=--          ______/)___/)___/)
 \BS (    |         [email protected]  PGP 87145445         |    )   /
  \_CS\   |  _____  -O #include <stddisclaimer.h> O-   _____  |   /  _/
8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445