[poky] [PATCH v2] gitignore: ignore documentation build products
    Sascha Silbe 
    x-yo17 at se-silbe.de
       
    Fri Dec 15 11:16:42 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 the files and directories that can be generated during "make
DOC=<directory>" as well as "make DOC=<directory> pdf". 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>
---
v1→v2:
  - condense single-file rules into wildcard rules
 .gitignore | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/.gitignore b/.gitignore
index 94894d498c..0c4e112d9d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -18,9 +18,10 @@ 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/*/*.html
+/documentation/*/*.pdf
+/documentation/*/*.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