Hi all
I just install curl from blfs and would suggest a minor correction to
the install section:
find docs \( -name Makefile\* \
-o -name \*.1 \
-o -name \*.3 \) \
-exec rm {} \; &&
install -v -d -m755 /usr/share/doc/curl-7.47.0 &&
cp -v -R docs/* /usr/share/doc/curl-7.47.0
This works ok, but it has the effect that the build directory gets
broken, e.g. a following make (or make install) will miss files and
fail. Also, it will still copy a
/usr/share/doc/curl-7.47.0/examples/.deps folder that is unneeded.
Therefore I suggest to change this to:
install -v -d -m755 /usr/share/doc/curl-7.47.0 &&
cp -v -R docs/* /usr/share/doc/curl-7.47.0 &&
find /usr/share/doc/curl-7.47.0 \( -name Makefile\* \
-o -name \*.1 \
-o -name \*.3 \) \
-exec rm {} \; &&
rm -rf /usr/share/doc/curl-7.47.0/examples/.deps
This will leave the build directory unharmed and do the necessary
cleanups in the destination directory.
Kind regards
Tim
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page