base.bbclass: add support for SOC_FAMILY in COMPATIBLE_MACHINES
[openembedded.git] / recipes / python / fix-path.inc
blob0738c59ada77fbcdf7b1eef67b3f4c8541746c1c
1 do_install_append() {
2         for i in `find ${D} -name "*.py"` ; do \
3             sed -i -e s:${D}::g $i
4         done
6         for i in `find ${D} -name "*.la"` ; do \
7             sed -i -e s:${STAGING_LIBDIR}:${libdir}:g $i
8         done
9         
10         if test -e ${D}${bindir} ; then
11             for i in ${D}${bindir}/* ; do \
12                 sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g $i
13             done
14         fi
16         if test -e ${D}${sbindir} ; then
17             for i in ${D}${sbindir}/* ; do \
18                 sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g $i
19             done
20         fi