[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

Currently I have this fragment:

        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

Visit your host, monkey.org