loolwsd/.gitignore | 1 + loolwsd/configure.ac | 3 ++- loolwsd/debian/rules | 4 ++++ loolwsd/maketarballfordeb.sh.in | 13 +++++++++++++ 4 files changed, 20 insertions(+), 1 deletion(-)
New commits: commit 35c90fbba6acfbd0b39da97f6e7d86ce47b0d0b6 Author: Andras Timar <[email protected]> Date: Tue May 10 15:00:20 2016 +0200 loolwsd: deb package making hack diff --git a/loolwsd/.gitignore b/loolwsd/.gitignore index c7c7797..52e0067 100644 --- a/loolwsd/.gitignore +++ b/loolwsd/.gitignore @@ -22,6 +22,7 @@ depcomp install-sh libtool ltmain.sh +maketarballfordeb.sh missing stamp-h1 m4 diff --git a/loolwsd/configure.ac b/loolwsd/configure.ac index 935316b..e7f903c 100644 --- a/loolwsd/configure.ac +++ b/loolwsd/configure.ac @@ -243,7 +243,8 @@ AC_SUBST(LOOLWSD_DATADIR) AC_CONFIG_FILES([Makefile test/Makefile loolwsd.spec - loolwsd.xml]) + loolwsd.xml + maketarballfordeb.sh]) AC_CONFIG_FILES([test/run_unit.sh],[chmod +x test/run_unit.sh]) AC_OUTPUT diff --git a/loolwsd/debian/rules b/loolwsd/debian/rules index c477524..519ac1a 100755 --- a/loolwsd/debian/rules +++ b/loolwsd/debian/rules @@ -20,3 +20,7 @@ override_dh_auto_configure: override_dh_auto_test: # do not test + +override_dh_auto_install: + make install DESTDIR=`pwd`/debian/loolwsd/ + cp -ar `pwd`/loleaflet `pwd`/debian/loolwsd/usr/share/loolwsd diff --git a/loolwsd/maketarballfordeb.sh.in b/loolwsd/maketarballfordeb.sh.in new file mode 100755 index 0000000..2ecd183 --- /dev/null +++ b/loolwsd/maketarballfordeb.sh.in @@ -0,0 +1,13 @@ +#!/bin/sh + +TEMPDIR=`mktemp -d` +SRCDIR=`pwd` +cd $TEMPDIR +tar xzvf $SRCDIR/loolwsd-@[email protected] +mkdir loolwsd-@PACKAGE_VERSION@/loleaflet +cd loolwsd-@PACKAGE_VERSION@/loleaflet +tar xzvf $SRCDIR/../loleaflet/loleaflet-@[email protected] --strip-components=1 +cd $TEMPDIR +tar czvf $SRCDIR/loolwsd_@[email protected] loolwsd-@PACKAGE_VERSION@ +cd $SRCDIR +rm -rf $TEMPDIR _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
