From bab4cf88980a45bfdcf19a692e2383010bc95aa3 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Tue, 11 Jun 2013 22:23:55 -0500 Subject: office/texlive: Fixup duplicate manpages in wrong places Thanks to Andrew Psaltis for the report. Signed-off-by: Robby Workman --- office/texlive/texlive.SlackBuild | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'office') diff --git a/office/texlive/texlive.SlackBuild b/office/texlive/texlive.SlackBuild index 0600f3fd3e..936104df95 100644 --- a/office/texlive/texlive.SlackBuild +++ b/office/texlive/texlive.SlackBuild @@ -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 -- cgit v1.2.3