summaryrefslogtreecommitdiff
path: root/office/texlive/texlive.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/texlive/texlive.SlackBuild')
-rw-r--r--office/texlive/texlive.SlackBuild15
1 files changed, 14 insertions, 1 deletions
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