[poky] [PATCH] gitignore: ignore documentation build products

Sascha Silbe x-yo17 at se-silbe.de
Fri Dec 15 02:52:08 PST 2017


There are several different manuals by now, all of which produce
output. The "eclipse" directory might even have been present the last
time .gitignore was updated.

Ignore all files and directories generated during "make
DOC=<directory>" for all existing manuals as well as "make
DOC=<directory> pdf" for all manuals that support PDF
generation. While at it, make sure the patterns only match for the
top-level documentation directory.

Signed-off-by: Sascha Silbe <x-yo17 at se-silbe.de>
---

Resent because the previous one disappeared into nirvana (mailing list
silently dropping mails from non-subscribers?).

 .gitignore | 31 ++++++++++++++++++++++++++++---
 1 file changed, 28 insertions(+), 3 deletions(-)

diff --git a/.gitignore b/.gitignore
index 94894d498c..f1da5b2df9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -18,9 +18,34 @@ hob-image-*.bb
 !meta-yocto
 !meta-yocto-bsp
 !meta-yocto-imported
-documentation/user-manual/user-manual.html
-documentation/user-manual/user-manual.pdf
-documentation/user-manual/user-manual.tgz
+/documentation/*/eclipse/
+/documentation/bsp-guide/bsp-guide.html
+/documentation/bsp-guide/bsp-guide.pdf
+/documentation/bsp-guide/bsp-guide.tgz
+/documentation/dev-manual/dev-manual.html
+/documentation/dev-manual/dev-manual.pdf
+/documentation/dev-manual/dev-manual.tgz
+/documentation/kernel-dev/kernel-dev.html
+/documentation/kernel-dev/kernel-dev.pdf
+/documentation/kernel-dev/kernel-dev.tgz
+/documentation/mega-manual/mega-manual.html
+/documentation/mega-manual/mega-manual.tgz
+/documentation/profile-manual/profile-manual.html
+/documentation/profile-manual/profile-manual.pdf
+/documentation/profile-manual/profile-manual.tgz
+/documentation/ref-manual/ref-manual.html
+/documentation/ref-manual/ref-manual.pdf
+/documentation/ref-manual/ref-manual.tgz
+/documentation/sdk-manual/sdk-manual.html
+/documentation/sdk-manual/sdk-manual.pdf
+/documentation/sdk-manual/sdk-manual.tgz
+/documentation/toaster-manual/toaster-manual.html
+/documentation/toaster-manual/toaster-manual.tgz
+/documentation/user-manual/user-manual.html
+/documentation/user-manual/user-manual.pdf
+/documentation/user-manual/user-manual.tgz
+/documentation/yocto-project-qs/yocto-project-qs.html
+/documentation/yocto-project-qs/yocto-project-qs.tgz
 pull-*/
 bitbake/lib/toaster/contrib/tts/backlog.txt
 bitbake/lib/toaster/contrib/tts/log/*
-- 
2.11.0



More information about the poky mailing list