tiff: Fix QA issue by installing dirs one per one 34/56034/1
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Sat, 17 Dec 2016 11:12:02 +0000 (12:12 +0100)
committerPhilippe Coval <philippe.coval@osg.samsung.com>
Sun, 3 Jan 2016 11:40:01 +0000 (12:40 +0100)
This change will work on shells that do not support "expandable path"
and will fail to build and report warning message like this:

  WARNING: QA Issue: tiff: Files/directories were installed but not shipped
  /{
  /{/usr
  /{/usr/share
  /{/usr/share/man
  /{/usr/share/man/{man1,man3},usr
  /{/usr/share/man/{man1,man3},usr/{bin,lib,include}} [installed-vs-shipped]

Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Change-Id: I6f5bb17f6631a3466d274dc17eac28f42f9de6e9

meta-tizen-common-base/recipes-multimedia/tiff/tiff.inc

index 6575542..4391bea 100644 (file)
@@ -82,9 +82,12 @@ do_install() {
  export LANG
  unset DISPLAY
  rm -rf ${D}
- mkdir -p ${D}
  
- mkdir -p ${D}/{${mandir}/{man1,man3},usr/{bin,lib,include}}
+ install -d ${D}/${mandir}/man1
+ install -d ${D}/${mandir}/man3
+ install -d ${D}/usr/bin
+ install -d ${D}/usr/include
+ install -d ${D}/usr/lib
  
    oe_runmake \
          DESTDIR=${D} \