office/texlive: Fixup duplicate manpages in wrong places

Thanks to Andrew Psaltis for the report.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Robby Workman 2013-06-11 22:23:55 -05:00 committed by Niels Horn
parent 7b4eeac256
commit bab4cf8898

View file

@ -27,7 +27,7 @@
PRGNAM=texlive
VERSION=20120701
BUILD=${BUILD:-3}
BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
SOURCE_VERS=$VERSION
@ -150,6 +150,19 @@ patch -p1 < $CWD/patches/texmf-fixup_texmf-local_tree_in_texmf_cnf.diff
mkdir -p $PKG/usr/share
cp -a texmf texmf-dist $PKG/usr/share
# Move manual pages to the correct place
# There's some duplicates of stuff that's already present in /usr/man
# from the texlive source we just compiled above, but I'm going to
# work from the assumption that they're identical - I just don't have
# the requisite number of fucks to give in order to ensure that.
mv $PKG/usr/share/texmf/doc/man/man1/*.1 $PKG/usr/man/man1
mv $PKG/usr/share/texmf/doc/man/man5/*.5 $PKG/usr/man/man5
# No, we don't care about the pdf versions of the manual pages
rm -rf $PKG/usr/share/texmf/doc/man
# All of these are already in the right place:
rm -rf $PKG/usr/share/texmf/doc/info
# Now let's add texi2hmtl - http://www.nongnu.org/texi2html/
cd $TMP
rm -rf texi2html-$TEXI2HTML