summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2013-06-11 22:23:55 -0500
committerNiels Horn <niels.horn@slackbuilds.org>2013-06-15 23:00:08 -0300
commitbab4cf88980a45bfdcf19a692e2383010bc95aa3 (patch)
treecfebc6a563816f7714dec6c57c4bd579521dae48
parent7b4eeac25682622ebceafd07a65d98bb283e8e38 (diff)
downloadslackbuilds-bab4cf88980a45bfdcf19a692e2383010bc95aa3.tar.gz
office/texlive: Fixup duplicate manpages in wrong places
Thanks to Andrew Psaltis for the report. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-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