libmbus/build-deb.sh
Stefan Wahren 107d44b7e9 build: temporary revert to autotools (#174)
As long as cmake doesn't generate suitable deb packages, we need to
switch back :(
2020-07-19 12:58:27 +02:00

26 lines
639 B
Bash
Executable File

# ------------------------------------------------------------------------------
# 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