Commit bb6a82d2 authored by Axel Beckert's avatar Axel Beckert

Streamline debian/rules, use dh_auto_{build,clean}

parent 97a35e98
......@@ -6,6 +6,7 @@ since (1.1-3) UNRELEASED; urgency=low
- don't overwrite already set variables
- pass additional variables (CPPFLAGS, LDFLAGS)
Fixes lintian warnings hardening-no-{relro,fortify-functions}
* Streamline debian/rules, use dh_auto_{build,clean}
-- Axel Beckert <abe@debian.org> Fri, 17 May 2013 00:47:48 +0200
......
......@@ -11,19 +11,13 @@ DESTDIR=$(CURDIR)/debian/since
build: build-stamp
build-stamp:
dh_testdir
$(MAKE)
touch build-stamp
dh_auto_build
touch $@
clean:
dh_testdir
dh_testroot
rm -f build-stamp install-stamp since
# Clean up after the build process
[ ! -f Makefile ] || $(MAKE) clean
dh_auto_clean
dh_clean
install: install-stamp
......@@ -33,8 +27,7 @@ install-stamp: build-stamp
dh_prep
dh_installdirs
dh_install
touch install-stamp
touch $@
binary-indep: build install
# We have nothing to do by default.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment