summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2018-02-07 15:11:00 (GMT)
committerTobias Markmann <tm@ayena.de>2018-02-09 16:29:58 (GMT)
commitd29e1624e38b528a7ae0e4cba83e4a790102aa8d (patch)
tree3a2d1d250e0d6e7fd731aa15522d2525f151e3ea /Swift/SConscript
parente2048d327800f93d6d5b647a7b0c2ff2abc5e93b (diff)
downloadswift-d29e1624e38b528a7ae0e4cba83e4a790102aa8d.zip
swift-d29e1624e38b528a7ae0e4cba83e4a790102aa8d.tar.bz2
Move man page generation from package.sh to scons
Pass help2man=1 to have scons build man page sources via help2man. Adjusted package.sh to use scons to build man pages. Test-Information: Tested on Ubuntu 16.04 and it generated man page sources when help2man=1. Tested package_all_platforms on Ubuntu 16.04. The build does not fail due to missing man pages anymore. Change-Id: I6c62bc3f666ffd9f926038045672eb6e456082e5
Diffstat (limited to 'Swift/SConscript')
-rw-r--r--Swift/SConscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/Swift/SConscript b/Swift/SConscript
index 863597a..b211435 100644
--- a/Swift/SConscript
+++ b/Swift/SConscript
@@ -19,3 +19,5 @@ if "Swift" in env["PROJECTS"] and env["BOOST_1_64_DETECTED"] and not env.get("al
#Version 1.64 has some issues with the serialization of boost::optional, see https://svn.boost.org/trac10/ticket/13050
print "Boost 1.64 has been detected. It is not recommended to use this version due to a regression within the library. Swift has been removed from the current build. You can still use this version by setting allow_boost_1_64 to true, but recent chats and highlighting rules will reset."
env["PROJECTS"].remove("Swift")
+if env["help2man"]:
+ SConscript("Packaging/SConscript") \ No newline at end of file