qtbase: Remove examples.pro file from packages
authorOtavio Salvador <otavio@ossystems.com.br>
Mon, 26 May 2014 14:00:09 +0000 (11:00 -0300)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:45:50 +0000 (08:45 -0800)
The examples.pro file is useless as we don't deploy the
source code. Remove it from the packages.

(From meta-qt5 rev: 6302f024037605f9ffd09009850c902f378809b1)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-qt5/recipes-qt/qt5/qtbase.inc

index 1a25aa4..f521db5 100644 (file)
@@ -221,6 +221,9 @@ do_install_append() {
     if [ ! -d ${D}/${OE_QMAKE_PATH_LIBS}/fonts ]; then
         cp -a ${S}/lib/fonts ${D}/${OE_QMAKE_PATH_LIBS}
     fi
+
+    # Remove example.pro file as it is useless
+    rm -f ${D}${OE_QMAKE_PATH_EXAMPLES}/examples.pro   
 }
 
 PACKAGES =. " \