From 16ca768038fea3b556cbfdae42d9e874389104c5 Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Sun, 12 Jan 2014 14:19:31 -0700 Subject: [PATCH] lintian cleanups --- debian/control | 4 ++-- debian/rules | 13 ++++++++++--- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/debian/control b/debian/control index dfa8db3..dbd275f 100644 --- a/debian/control +++ b/debian/control @@ -2,14 +2,14 @@ Source: pforth Section: interpreters Priority: optional Maintainer: Bdale Garbee -Build-Depends: debhelper (>= 4) +Build-Depends: debhelper (>= 9) Standards-Version: 3.9.5 Vcs-Git: git://git.gag.com/debian/pforth Vcs-Browser: http://git.gag.com/?p=debian/pforth Package: pforth Architecture: arm armeb armel armhf i386 m68k powerpc powerpcspe s390 sparc hurd-i386 hppa kfreebsd-i386 -Depends: ${shlibs:Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} Description: portable Forth interpreter pForth is a public domain, portable ANS Forth based on a kernel written in ANSI 'C'. This makes it easy to port pForth to multiple platforms. diff --git a/debian/rules b/debian/rules index 25cd8e2..4b1cba7 100755 --- a/debian/rules +++ b/debian/rules @@ -2,7 +2,14 @@ export DH_VERBOSE=1 -build: build-stamp +CFLAGS = `dpkg-buildflags --get CFLAGS` +CFLAGS += -Wall +LDFLAGS += `dpkg-buildflags --get LDFLAGS` +CPPFLAGS = `dpkg-buildflags --get CPPFLAGS` + +build: build-arch build-indep +build-arch: build-stamp +build-indep: build-stamp build-stamp: dh_testdir mkdir objects @@ -13,7 +20,7 @@ clean: dh_testdir dh_testroot rm -f build-stamp install-stamp - -$(MAKE) clean + [ ! -f Makefile ] || $(MAKE) clean rm -fr objects dh_clean @@ -21,7 +28,7 @@ install: install-stamp install-stamp: build-stamp dh_testdir dh_testroot - dh_clean -k + dh_prep dh_installdirs install -m0755 pforth `pwd`/debian/pforth/usr/bin/pforth -- 2.30.2