Ken Moffat wrote:
For my own script, I usedQTDIR=$QT4PREFIX if [ "$QTDIR" = "/usr" ]; then PATH=$PATH:/usr/bin/qt4 else PATH=$PATH:$QT4PREFIX/bin fi export QTDIR PATH That will not fit cleanly into the book (I've seen inline if tests in Makefiles, they are excessively ugly). If I update the book I will do two alternative paragraphs with alternative commands, like we already do elsewhere on that page. But if I don't manage to build qt4 on a system without qt5, I will not update this minor point.
Just add a note: <note><para>If $QT4PREFIX is set to /usr, use PATH=$PATH:/usr/bin/qt4 in the instruction above.</para></note> -- Bruce -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
