commit 7c10bd51
Some changes to the pack script to make travis build the man page too
Changed files
| M | .travis.yml before |
| M | packdata.sh before |
| M | travis_build.script before |
diff --git a/.travis.yml b/.travis.yml
index 4ec0a80..ad97a68 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,6 +15,7 @@ addons:
- libboost1.55-dev
- libjsoncpp-dev
- cmake
+ - docbook-to-man
cache:
apt: true
diff --git a/packdata.sh b/packdata.sh
index 0e59663..b7ce701 100755
--- a/packdata.sh
+++ b/packdata.sh
@@ -3,5 +3,7 @@ set -e
zip -9rj Game/blockattack.data source/AUTH
cd Game/data
zip -9r ../blockattack.data * -x \*svn*
+cd ../../man
+docbook-to-man blockattack.sgml|gzip -9 > blockattack.6.gz
exit 0
diff --git a/travis_build.script b/travis_build.script
index f082018..bab9ebe 100755
--- a/travis_build.script
+++ b/travis_build.script
@@ -8,6 +8,4 @@ make
make clean
./packdata.sh
#i686-pc-mingw32-c++ -c -std=c++11 source/code/os.cpp -o windows_os_test.o
-#I do not support scons.
-#scons -Q prefix=$HOME -Q sharedir=$HOME/share/