Commit 0c8ce7ac authored by Philippe Coval's avatar Philippe Coval

packaging: align to yocto for csdk as well

Change-Id: I906dcdeb38e8e807320820d787578727c4fee8d1
Signed-off-by: default avatarPhilippe Coval <philippe.coval@osg.samsung.com>
parent 1f82605f
......@@ -121,12 +121,21 @@ find . -iname "lib*.a" -exec install "{}" %{buildroot}%{_libdir}/ \;
find . -iname "lib*.so" -exec install "{}" %{buildroot}%{_libdir}/ \;
find resource service -iname "include" -o -iname 'inc' -a -type d\
| grep -v example | while read include ; do \
| grep -v example | grep -v csdk | while read include ; do \
dirname=$(dirname -- "$include") ; \
install -d %{buildroot}%{_includedir}/%{name}/${dirname} ; \
install $include/*.* %{buildroot}%{_includedir}/%{name}/${dirname}/ ; \
done
cd resource/csdk
find . -iname "include" -o -iname 'inc' -a -type d\
| while read include ; do \
dirname=$(dirname -- "$include") ; \
install -d %{buildroot}%{_includedir}/%{name}/resource/${dirname} ; \
install $include/*.* %{buildroot}%{_includedir}/%{name}/resource/${dirname}/ ; \
done
cd -
install -d %{buildroot}%{_includedir}/%{name}/resource/oc_logger/targets/
install ./resource/oc_logger/include/targets/*.* %{buildroot}%{_includedir}/%{name}/resource/oc_logger/targets/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment