hvbuild()
{
- # Install headers
- cd ${LFS_TMP}/${PACKAGE}
+ local DESTDIR=/usr/include
- make mrproper
- make INSTALL_HDR_PATH=dest headers_install
- cp -rv dest/include/* /usr/include
- find /usr/include -name .install -or -name ..install.cmd | xargs rm -fv
+ ${HVMAKE} mrproper
+ ${HVMAKE} INSTALL_HDR_PATH=dest headers_install
+ cp -rv dest/include/* ${DESTDIR}
+ find ${DESTDIR} -name .install -or -name ..install.cmd | xargs rm -fv
}