[scala] 16/23: Install the manpages under /usr/share/scala-2.11/man

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Jul 29 23:14:56 UTC 2015


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository scala.

commit df7399b7ecb836b6a375a26c7597fb80dba6f4e1
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Jun 18 23:50:15 2015 +0200

    Install the manpages under /usr/share/scala-2.11/man
---
 debian/rules          | 1 +
 debian/scala.install  | 1 +
 debian/scala.links    | 6 ++++++
 debian/scala.manpages | 2 --
 4 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 0166b38..197ddda 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,6 +30,7 @@ override_dh_auto_clean:
 
 override_dh_compress:
 	dh_compress -X.js -X.scala
+	gzip --best -n debian/scala/usr/share/scala-2.11/man/man1/*.1
 
 get-orig-source:
 	uscan --download-current-version --rename
diff --git a/debian/scala.install b/debian/scala.install
index 60509d7..4f85555 100644
--- a/debian/scala.install
+++ b/debian/scala.install
@@ -3,3 +3,4 @@ build/pack/bin/scala              usr/share/scala-2.11/bin/
 build/pack/bin/scalac             usr/share/scala-2.11/bin/
 build/pack/bin/scaladoc           usr/share/scala-2.11/bin/
 build/pack/bin/scalap             usr/share/scala-2.11/bin/
+build/pack/man                    usr/share/scala-2.11/
diff --git a/debian/scala.links b/debian/scala.links
index 36a1a03..06a7f79 100644
--- a/debian/scala.links
+++ b/debian/scala.links
@@ -14,3 +14,9 @@ usr/share/scala-2.11/bin/scala     usr/bin/scala
 usr/share/scala-2.11/bin/scalac    usr/bin/scalac
 usr/share/scala-2.11/bin/scaladoc  usr/bin/scaladoc
 usr/share/scala-2.11/bin/scalap    usr/bin/scalap
+
+usr/share/scala-2.11/man/man1/fsc.1.gz       usr/share/man/man1/fsc.1.gz
+usr/share/scala-2.11/man/man1/scala.1.gz     usr/share/man/man1/scala.1.gz
+usr/share/scala-2.11/man/man1/scalac.1.gz    usr/share/man/man1/scalac.1.gz
+usr/share/scala-2.11/man/man1/scaladoc.1.gz  usr/share/man/man1/scaladoc.1.gz
+usr/share/scala-2.11/man/man1/scalap.1.gz    usr/share/man/man1/scalap.1.gz
diff --git a/debian/scala.manpages b/debian/scala.manpages
deleted file mode 100644
index 40f52c3..0000000
--- a/debian/scala.manpages
+++ /dev/null
@@ -1,2 +0,0 @@
-build/pack/man/man1/scala*.1
-build/pack/man/man1/fsc.1

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/scala.git



More information about the pkg-java-commits mailing list