Update to poppler-0.35.0
[hvlinux.git] / stage2 / pkg / kernel-headers
index 56fee46..95caa30 100644 (file)
@@ -2,11 +2,10 @@
 
 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
 }