]> git.proxmox.com Git - pve-cluster.git/commitdiff
buildsys: use autoreconf
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 17 Nov 2017 14:02:24 +0000 (15:02 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 20 Nov 2017 11:41:17 +0000 (12:41 +0100)
do not manually call autogen/configure just use dh_autoreconf

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile
debian/rules

index 073ddc8e044f2ce9317200321155d2c0200d3603..9b75e81bfdbfaaf8588abbb5bbc3220369090970 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,6 @@ ${DEB}:
        cp -a debian build/debian
        sed -e "s|@PERLAPI@|perlapi-$(PERL_APIVER)|g" debian/control.in > build/debian/control
        echo "git clone git://git.proxmox.com/git/pve-cluster.git\\ngit checkout ${GITVERSION}" > build/debian/SOURCE
-       cd build; ./autogen.sh
        cd build; dpkg-buildpackage -rfakeroot -b -us -uc
        lintian ${DEB}
 
index bf633eaf12352090a8c9d1dc40dcb5e72fc61ae6..bf69290cd14305d5cab8cf9b9f71b63313baa544 100755 (executable)
@@ -10,17 +10,11 @@ export DH_OPTIONS
 BUILDROOT := $(shell pwd)
 
 %:
-       dh $@ --with=systemd
+       dh $@ --with=systemd --with=autoreconf
 
 override_dh_strip:
        dh_strip --dbg-package=pve-cluster-dbg
 
-override_dh_auto_configure:
-
-       ./autogen.sh
-
-       ./configure --prefix=/usr
-
 override_dh_systemd_start:
        dh_systemd_start --restart-after-upgrade