summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/Packaging/Debian/package.sh')
-rwxr-xr-xSwift/Packaging/Debian/package.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/Swift/Packaging/Debian/package.sh b/Swift/Packaging/Debian/package.sh
index d19f5dc..62dfff0 100755
--- a/Swift/Packaging/Debian/package.sh
+++ b/Swift/Packaging/Debian/package.sh
@@ -95,18 +95,6 @@ cat $DIRNAME/debian/control.in | sed -e "s/%SWIFTEN_SOVERSION%/$SWIFTEN_SOVERSIO
95rm $DIRNAME/debian/control.in 95rm $DIRNAME/debian/control.in
96mv $DIRNAME/debian/libswiften.install $DIRNAME/debian/libswiften$SWIFTEN_SOVERSION.install 96mv $DIRNAME/debian/libswiften.install $DIRNAME/debian/libswiften$SWIFTEN_SOVERSION.install
97cat ../../../COPYING.thirdparty | tail -n +3 >> $DIRNAME/debian/copyright 97cat ../../../COPYING.thirdparty | tail -n +3 >> $DIRNAME/debian/copyright
98# Generate updated man-page if possible
99if type "help2man" > /dev/null 2>&1; then
100 if [ -f ../../QtUI/swift-im ]; then
101 help2man -m "Swift Manual" -S "Swift" -n "swift-im" -N ../../QtUI/swift-im > $DIRNAME/debian/swift-im.1
102 fi
103 if [ -f ../../../Swiften/Config/swiften-config ]; then
104 help2man -m "Swift Manual" -S "swiften-config" -n "swiften-config" -N ../../../Swiften/Config/swiften-config > $DIRNAME/debian/swiften-config.1
105 fi
106else
107 >2& echo "Unable to generate man pages. Please ensure that help2man is installed"
108 exit 1;
109fi
110 98
111# Build 99# Build
112cd $DIRNAME 100cd $DIRNAME