summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThanos Doukoudakis <thanos.doukoudakis@isode.com>2019-02-24 23:26:08 (GMT)
committerThanos Doukoudakis <thanos.doukoudakis@isode.com>2019-02-26 12:33:30 (GMT)
commitf11ef30f7fe576723f71c2c6a9061ec7ef9472bd (patch)
treed087ba7a1d6f0e219406d2403f7deea91ce2eeb8 /SwifTools/MacOSXChecker.mm
parent7062839cd21ba32a73ce01c920294d0f7575780b (diff)
downloadswift-f11ef30f7fe576723f71c2c6a9061ec7ef9472bd.zip
swift-f11ef30f7fe576723f71c2c6a9061ec7ef9472bd.tar.bz2
Fix library search path for man page generation
This patch will fix an issue that occurs when generating the man pages for swift-im. The man page is generated from the Swiften library using help2man. The issue occurs when the library cannot be found during build time and help2man is generating a man page with the output of that error, ignoring the return error code from swift-im. To avoid this happening in future builds, swift-im --help is run before generating the page and checked if the execution was successful. If yes we proceed with the generation, if not we stop the build and throw an error. swiften-config man page generation was not affected by this issue. Test-Information: Build with ubuntu 18.04 on a machine that hasn’t got Swift or Swiften installed. Build the Debian package for Debian stretch with pbuilder, and installed on a clean docker container (Debian stretch). Repeated the test with Debian sid but with packages build from docker containers. Change-Id: Icf8a84ba7f4810c87e5835e5ac1a91d1324ddac8
Diffstat (limited to 'SwifTools/MacOSXChecker.mm')
0 files changed, 0 insertions, 0 deletions