build: temporary revert to autotools (#174)
As long as cmake doesn't generate suitable deb packages, we need to switch back :(
This commit is contained in:
25
build-deb.sh
Executable file
25
build-deb.sh
Executable file
@ -0,0 +1,25 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# Copyright (C) 2012, Robert Johansson <rob@raditex.nu>, Raditex Control AB
|
||||
# All rights reserved.
|
||||
#
|
||||
# rSCADA
|
||||
# http://www.rSCADA.se
|
||||
# info@raditex.nu
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
if [ ! -f Makefile ]; then
|
||||
#
|
||||
# regenerate automake files
|
||||
#
|
||||
echo "Running autotools..."
|
||||
|
||||
autoheader \
|
||||
&& aclocal \
|
||||
&& libtoolize --ltdl --copy --force \
|
||||
&& automake --add-missing --copy \
|
||||
&& autoconf
|
||||
fi
|
||||
|
||||
debuild -i -us -uc -b
|
||||
#sudo pbuilder build $(NAME)_$(VERSION)-1.dsc
|
Reference in New Issue
Block a user