From 63959632e39c1788322ebb49e060869eef32565a Mon Sep 17 00:00:00 2001 From: Tmtom Date: Wed, 18 Jul 2012 21:06:03 +0200 Subject: [PATCH] Added manpages to the deb package, added autottols call to build-deb.sh --- build-deb.sh | 13 +++++++++++++ build.sh | 1 + debian/libmbus1.install | 1 + 3 files changed, 15 insertions(+) diff --git a/build-deb.sh b/build-deb.sh index df495c7..77f3a6b 100755 --- a/build-deb.sh +++ b/build-deb.sh @@ -8,5 +8,18 @@ # # ------------------------------------------------------------------------------ +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 diff --git a/build.sh b/build.sh index 54c2cce..e03522f 100755 --- a/build.sh +++ b/build.sh @@ -10,6 +10,7 @@ else # # regenerate automake files # + echo "Running autotools..." autoheader \ && aclocal \ diff --git a/debian/libmbus1.install b/debian/libmbus1.install index d370c2b..09955d8 100644 --- a/debian/libmbus1.install +++ b/debian/libmbus1.install @@ -1,2 +1,3 @@ usr/lib/lib*.so.* usr/bin/* +usr/share/*