diff --git a/openni/Makefile b/openni/Makefile index b38e901ee7b2cf46df23d504283082dd0e205e8b..3fb22677aee2eec8900a825cd8acee984c85540c 100644 --- a/openni/Makefile +++ b/openni/Makefile @@ -98,8 +98,8 @@ do-install: ${PREFIX}/include/ni cd ${WRKDIR}/bin; ${PAX} -rwp ma . ${PREFIX}/bin cd ${WRKDIR}/lib; ${PAX} -rwp ma . ${PREFIX}/lib - cd ${WRKSRC}; for file in `cat Platform/Linux-x86/CreateRedist/install.sh | grep MODULES= | sed 's/\"//g' | awk -F "=" {'print $$2'}`; do \ - echo "${PREFIX}/lib/$$file"; \ + @cd ${WRKSRC}; for file in `cat Platform/Linux-x86/CreateRedist/install.sh | grep MODULES= | sed 's/\"//g' | awk -F "=" {'print $$2'}`; do \ + echo "Installing $$file"; \ ${PREFIX}/bin/niReg -r ${PREFIX}/lib/$$file ${OPENNI_SHARE}; \ done