summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-04-20 09:10:37 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-04-20 09:10:37 (GMT)
commit36f3a0c57fd594fd8cfbde930f13521a3c74c42e (patch)
treef9d897143696fcbead66e2c63a96c926e2526d98 /autogen.sh
parent3e14c568397d7500a8e734458a88bbac9030ce57 (diff)
downloadlibkolabxml-36f3a0c57fd594fd8cfbde930f13521a3c74c42e.tar.gz
Automatically make a tarball
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 70e5142..6999edd 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -39,6 +39,9 @@ cd build
if [ ${doprep} -eq 1 ]; then
cmake \
-DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DCMAKE_PREFIX_PATH=/usr/lib64 \
+ -DPHP_BINDINGS=ON \
+ -DPYTHON_BINDINGS=ON \
..
fi
@@ -62,3 +65,9 @@ if [ ${dotest} -eq 1 ]; then
fi
fi
+cd ..
+
+git archive --prefix=libkolabxml-0.3/ HEAD | gzip -c > libkolabxml-0.3.tar.gz
+
+cp libkolabxml-0.3.tar.gz `rpm --eval='%{_sourcedir}'`
+