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:
Stefan Wahren
2020-07-19 12:53:59 +02:00
committed by Stefan Wahren
parent f498cf1a37
commit 5588d2614b
23 changed files with 399 additions and 562 deletions

25
build-deb.sh Executable file
View 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