diff mbox series

[07/11,RFC] gitignore: Create .gitignore file for docs/

Message ID 202009092153.089LriKY039224@m5p.com (mailing list archive)
State New, archived
Headers show
Series None | expand

Commit Message

Elliott Mitchell Aug. 31, 2020, 11:20 p.m. UTC
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.

Signed-off-by: Elliott Mitchell <ehem+xen@m5p.com>

---
 .gitignore      | 12 ------------
 docs/.gitignore |  8 ++++++++
 2 files changed, 8 insertions(+), 12 deletions(-)
 create mode 100644 docs/.gitignore
diff mbox series

Patch

diff --git a/.gitignore b/.gitignore
index 4f95d7b016..18339f3bab 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/docs/.gitignore b/docs/.gitignore
new file mode 100644
index 0000000000..532c9d06a0
--- /dev/null
+++ b/docs/.gitignore
@@ -0,0 +1,8 @@ 
+/figs/*.png
+/html/
+/man/xl.1.pod
+/man/xl.cfg.5.pod
+/man[1-9]/
+/pdf/
+/tmp.*
+/txt/