[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Installing a file tree?



What's the recommended way to copy a file tree into the installation
area?

Currently I have this fragment:

--------------->
post-install:
        ${INSTALL_DATA_DIR} ${MANUAL}
        cd ${WRKSRC}/manual && \
            find . -type d -exec ${INSTALL_DATA_DIR} ${MANUAL}/{} \; && \
            find . -type f -exec ${INSTALL_DATA} {} ${MANUAL}/{} \;
<---------------

Or should I just dump it there by any of the usual means and run
chmod/chown with ${SHAREMODE} etc on it?

-- 
Christian "naddy" Weisgerber                          naddy_(_at_)_mips_(_dot_)_inka_(_dot_)_de