[pve-devel] [PATCH cluster 3/6] buildsys: use autoreconf

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Nov 13 12:28:40 CET 2017


do not manually call autogen/configure just use dh_autoreconf

Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
 Makefile     | 1 -
 debian/rules | 8 +-------
 2 files changed, 1 insertion(+), 8 deletions(-)

diff --git a/Makefile b/Makefile
index 073ddc8..9b75e81 100644
--- 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}
 
diff --git a/debian/rules b/debian/rules
index bf633ea..bf69290 100755
--- a/debian/rules
+++ b/debian/rules
@@ -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
 
-- 
2.11.0





More information about the pve-devel mailing list