diff options
Diffstat (limited to 'Swift/Packaging/Debian/package.sh')
| -rwxr-xr-x | Swift/Packaging/Debian/package.sh | 12 |
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 | |||
| 95 | rm $DIRNAME/debian/control.in | 95 | rm $DIRNAME/debian/control.in |
| 96 | mv $DIRNAME/debian/libswiften.install $DIRNAME/debian/libswiften$SWIFTEN_SOVERSION.install | 96 | mv $DIRNAME/debian/libswiften.install $DIRNAME/debian/libswiften$SWIFTEN_SOVERSION.install |
| 97 | cat ../../../COPYING.thirdparty | tail -n +3 >> $DIRNAME/debian/copyright | 97 | cat ../../../COPYING.thirdparty | tail -n +3 >> $DIRNAME/debian/copyright |
| 98 | # Generate updated man-page if possible | ||
| 99 | if 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 | ||
| 106 | else | ||
| 107 | >2& echo "Unable to generate man pages. Please ensure that help2man is installed" | ||
| 108 | exit 1; | ||
| 109 | fi | ||
| 110 | 98 | ||
| 111 | # Build | 99 | # Build |
| 112 | cd $DIRNAME | 100 | cd $DIRNAME |
Swift