summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-05-05 20:53:17 +0400
committerIgor Pashev <pashev.igor@gmail.com>2013-05-05 20:53:17 +0400
commit882d8197f0a7afe6c28ade7469452b0704f374fd (patch)
treee80b920b32f9b7bf2ff51e75d3cacc705a7b017b
parent39e11d17e43cbd30930dad0124c78ef86d35716d (diff)
downloadoss4-882d8197f0a7afe6c28ade7469452b0704f374fd.tar.gz
Fix manpages for SunOS
-rwxr-xr-xdebian/rules6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 65ccfd7..f650075 100755
--- a/debian/rules
+++ b/debian/rules
@@ -78,6 +78,12 @@ stamp-source-oss4:
$(CURDIR)/debian/tmp: stamp-build-oss4
cp -a $(CURDIR)/build-tree/oss-build/prototype $(CURDIR)/debian/tmp
+ [ -d debian/tmp/usr/share/man ] || mkdir -p debian/tmp/usr/share/man
+ [ -d debian/tmp/usr/man ] && \
+ mv debian/tmp/usr/man/* debian/tmp/usr/share/man/ && \
+ rmdir debian/tmp/usr/man
+ gzip -r -9 debian/tmp/usr/share/man
+
install/oss4-base:: $(CURDIR)/debian/tmp
sed -e 's#_VERSION_#$(UPSTREAM_VERSION)#' < debian/oss.conf.in > debian/oss.conf