From 0172db540a3b4f93c89ca50d4b1c8de28dc605ca Mon Sep 17 00:00:00 2001 From: Sven Hoexter Date: Wed, 7 Oct 2015 12:09:53 +0200 Subject: [PATCH] Remove old scons overrides from d/rules. Build-Depend on autotools-dev and pkg-config instead of scons. Set --sbindir=/sbin to stay consistent with the current install location. --- debian/changelog | 3 +++ debian/control | 2 +- debian/rules | 12 ++++-------- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/debian/changelog b/debian/changelog index 6f04140..f2ca349 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,9 @@ exfat-utils (1.2.1-1) unstable; urgency=low * New upstream release. + Changes from scons to autotools * Remove d/install, no longer required. + * Remove old scons overrides from d/rules. + * Build-Depend on autotools-dev and pkg-config instead of scons. + * Set --sbindir=/sbin to stay consistent with the current install location. -- diff --git a/debian/control b/debian/control index 9b1b442..25863c5 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: exfat-utils Section: otherosfs Priority: optional Maintainer: Sven Hoexter -Build-Depends: debhelper (>= 9), scons +Build-Depends: debhelper (>= 9), autotools-dev, pkg-config Standards-Version: 3.9.6 Homepage: http://code.google.com/p/exfat/ Vcs-Git: git://git.sven.stormbind.net/git/sven/exfat-utils.git diff --git a/debian/rules b/debian/rules index 9f7d91a..ec620f7 100755 --- a/debian/rules +++ b/debian/rules @@ -3,14 +3,10 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all -export CCFLAGS = $(CFLAGS) -Wall -std=c99 -D_GNU_SOURCE %: - dh $@ + dh $@ --with autotools_dev -override_dh_auto_build: - scons - -override_dh_auto_clean: - scons -c - rm -f config.log +override_dh_auto_configure: + dh_auto_configure -- \ + --sbindir=/sbin \ -- 2.39.2