On 12-11-2014 16:57, [email protected] wrote: > Author: bdubbs > Date: Wed Nov 12 11:57:23 2014 > New Revision: 14890 > > Log: > Make man pages for qca and libreoffice accessible > > Modified: > trunk/BOOK/general/genlib/qca.xml > trunk/BOOK/introduction/welcome/changelog.xml > trunk/BOOK/xsoft/office/libreoffice.xml > > Modified: trunk/BOOK/general/genlib/qca.xml > ============================================================================== > --- trunk/BOOK/general/genlib/qca.xml Wed Nov 12 11:08:44 2014 (r14889) > +++ trunk/BOOK/general/genlib/qca.xml Wed Nov 12 11:57:23 2014 (r14890)
> > @@ -121,6 +122,9 @@ > <para><parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is > used to force building with Qt4 even if Qt5 is found.</para> Fixed this, thanks to Armin. > Modified: trunk/BOOK/xsoft/office/libreoffice.xml > ============================================================================== > --- trunk/BOOK/xsoft/office/libreoffice.xml Wed Nov 12 11:08:44 2014 > (r14889) > +++ trunk/BOOK/xsoft/office/libreoffice.xml Wed Nov 12 11:57:23 2014 > (r14890) > @@ -42,7 +42,7 @@ > dependencies (with-system... --> > ]> > + > +<screen role="root"><userinput>if [ "$LO_PREFIX" != "/usr" ]; then > + mkdir -pv /usr/share/pixmaps > + > + for i in writer base calc draw impress math startcenter writer > + do > + ln -svf $LO_PREFIX/share/icons/hicolor/32x32/apps/libreoffice-$i.png \ > + /usr/share/pixmaps/ > + done > + unset i > +fi</userinput></screen> > + > + <para> > + If installed in <filename > + class="directory">/opt/libreoffice-&libreoffice-dlversion;</filename>, > + create links to the man pages. Be sure the LO_PREFIX environment > + variable is defined for the root user. > + </para> > + > +<screen role="root"><userinput>if [ "$LO_PREFIX" != "/usr" ]; then > + for i in $LO_PREFIX/share/man/man1/*; do > + ln -svf $i /usr/share/man/man1/ > + done > + unset i > +fi</userinput></screen> I liked very much your solution for this (and for qca, too). Liked the conditionals and the symlinks. Thanks!!! -- []s, Fernando -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
