Helper scripts for the Maemo build.
This commit is contained in:
parent
926ab46449
commit
cf18767c37
3 changed files with 38 additions and 0 deletions
27
autogen-maemo.sh
Executable file
27
autogen-maemo.sh
Executable file
|
@ -0,0 +1,27 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
# wipe out temporary autotools files, necessary
|
||||
# when switching between distros
|
||||
rm -rf aclocal.m4 m4 autom4te.cache config.guess config.sub config.h.in configure depcomp install-sh ltmain.sh missing
|
||||
|
||||
# intltoolize fails to copy its macros unless m4 exits
|
||||
mkdir m4
|
||||
|
||||
sh ./gen-autotools.sh
|
||||
|
||||
libtoolize -c
|
||||
glib-gettextize --force --copy
|
||||
intltoolize --force --copy --automake
|
||||
aclocal-1.9 -I m4 -I m4-repo
|
||||
autoheader
|
||||
automake-1.9 -a -c -Wno-portability
|
||||
autoconf
|
||||
|
||||
# This hack is required for the autotools on Debian Etch.
|
||||
# Without it, configure expects a po/Makefile where
|
||||
# only po/Makefile.in is available. This patch fixes
|
||||
# configure so that it uses po/Makefile.in, like more
|
||||
# recent macros do.
|
||||
perl -pi -e 's;test ! -f "po/Makefile";test ! -f "po/Makefile.in";; s;mv "po/Makefile" "po/Makefile.tmp";cp "po/Makefile.in" "po/Makefile.tmp";;' configure
|
9
builddeb
Normal file
9
builddeb
Normal file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
#fakeroot debian/rules binary-arch
|
||||
# DEB_BUILD_OPTIONS="noopt" \
|
||||
dpkg-buildpackage -rfakeroot
|
||||
|
||||
ARCH=`dpkg --print-architecture`
|
||||
VERSION=`dpkg-parsechangelog|sed -n 's/Version: \(.*:\)\?\(.*\)/\2/p'`
|
||||
maemo-optify-deb ../syncevolution_${VERSION}_${ARCH}.deb ../syncevolution-dev_${VERSION}_${ARCH}.deb
|
||||
|
2
buildsrc
Normal file
2
buildsrc
Normal file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
dpkg-buildpackage -rfakeroot -S -i -I.git
|
Loading…
Reference in a new issue