Removed unwanted usr directory from package 69/15069/1
authorSebastien Douheret <sebastien.douheret@iot.bzh>
Fri, 6 Jul 2018 11:22:26 +0000 (13:22 +0200)
committerSebastien Douheret <sebastien.douheret@iot.bzh>
Fri, 6 Jul 2018 11:22:29 +0000 (13:22 +0200)
Don't know exactly which tool create this directory (I suspect
npm install process) but 'usr' directory should not be part of XDS
zip package.

Change-Id: Id6f4659f16b707ca5eb9a621947dce8cf2a5b674
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Makefile

index d4f86b2..07357f3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -149,6 +149,7 @@ webapp: webapp/install
 
 webapp/install:
        (cd webapp && npm install)
+       @if [ -d ${DESTDIR}/usr ]; then rmdir ${DESTDIR}/usr; fi
 
 .PHONY: scripts
 scripts: