no-doc-for-lib.diff
authorAnas Nashif <anas.nashif@intel.com>
Wed, 6 Feb 2013 21:11:08 +0000 (13:11 -0800)
committerAnas Nashif <anas.nashif@intel.com>
Wed, 6 Feb 2013 21:11:08 +0000 (13:11 -0800)
===================================================================

FilesCheck.py

index ee66466..043b927 100644 (file)
@@ -859,7 +859,7 @@ class FilesCheck(AbstractCheck.AbstractCheck):
         debuginfo_srcs = False
         debuginfo_debugs = False
 
-        if not doc_files:
+        if not lib_package and not doc_files:
             printWarning(pkg, 'no-documentation')
 
         if files: